|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.DocumentModelFactory
public class DocumentModelFactory
DocumentModel factory for document models initialization.
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentModel newDocument(DocumentModel parent, String type)
public static DocumentModel newDocument(DocumentModel parent, String name, String type)
public static DocumentModel newDocument(DocumentModel parent, DocumentType type)
public static DocumentModel newDocument(DocumentModel parent, String name, DocumentType type)
public static DocumentModelImpl createDocumentModel(Document doc) throws DocumentException
DocumentException
public static Map<String,Serializable> updatePrefetch(DocumentModel docModel)
public static DocumentModelImpl createDocumentModel(Document doc, String[] schemas) throws DocumentException
DocumentException
public static DocumentModelImpl createDocumentModel(DocumentType docType) throws DocumentException
docType
- The document type
DocumentException
public static DocumentModelImpl createDocumentModel(String sessionId, DocumentType docType) throws DocumentException
sessionId
- the CoreSession iddocType
- The document type
DocumentException
public static DocumentModelImpl createDocumentModel(String parentPath, String id, DocumentType docType, String[] schemas) throws DocumentException
parentPath
- the document parent pathid
- the document iddocType
- the document typeschemas
- schemas to take into account when initializing
DocumentException
public static DataModel exportSchema_OLD(String sid, DocumentRef docRef, Document doc, Schema schema) throws DocumentException
DocumentException
public static DataModel exportSchema(String sid, DocumentRef docRef, Document doc, Schema schema) throws DocumentException
DocumentException
public static Map<String,Object> exportComplexProperty(String sid, DocumentRef docRef, Property property) throws DocumentException
DocumentException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |