Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.automation.client.jaxrs.impl
Class DocumentService

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.impl.DocumentService

public class DocumentService
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String AttachBlob
           
static String CreateDocument
           
static String FetchDocument
           
static String GetDocumentChildren
           
protected  Session session
           
 
Constructor Summary
DocumentService(Session session)
           
 
Method Summary
 Document createDocument(Document parent, String type, String name)
           
 Document createDocument(Document parent, String type, String name, PropertyMap properties)
           
 Documents getChildren(DocRef docRef)
           
 Documents getChildren(Document doc)
           
 Document getDocument(String ref)
           
 Session getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DocumentService

public DocumentService(Session session)
Method Detail

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

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.