org.nuxeo.ecm.automation.client.jaxrs.adapters
Class DocumentService
java.lang.Object
org.nuxeo.ecm.automation.client.jaxrs.adapters.DocumentService
public class DocumentService
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FetchDocument
public static final java.lang.String FetchDocument
- See Also:
- Constant Field Values
CreateDocument
public static final java.lang.String CreateDocument
- See Also:
- Constant Field Values
GetDocumentChildren
public static final java.lang.String GetDocumentChildren
- See Also:
- Constant Field Values
GetDocumentParent
public static final java.lang.String GetDocumentParent
- See Also:
- Constant Field Values
AttachBlob
public static final java.lang.String AttachBlob
- See Also:
- Constant Field Values
Query
public static final java.lang.String Query
- See Also:
- Constant Field Values
DocumentService
public DocumentService(Session session)
getSession
public Session getSession()
getDocument
public Document getDocument(java.lang.String ref)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDocument
public Document getDocument(DocRef ref)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public Document createDocument(DocRef parent,
java.lang.String type,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public Document createDocument(DocRef parent,
java.lang.String type,
java.lang.String name,
PropertyMap properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
getChildren
public Documents getChildren(DocRef docRef)
throws java.lang.Exception
- Throws:
java.lang.Exception
getChild
public Documents getChild(DocRef docRef,
java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
getParent
public Documents getParent(DocRef docRef)
throws java.lang.Exception
- Throws:
java.lang.Exception
getParent
public Documents getParent(DocRef docRef,
java.lang.String type)
throws java.lang.Exception
- Throws:
java.lang.Exception
query
public Documents query(java.lang.String query)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.