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