public class ShowcaseWriter extends DocumentModelWriter
root, session, unsavedDocuments| Constructor and Description |
|---|
ShowcaseWriter(CoreSession session,
String parentPath,
int saveInterval) |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentModel |
createDocument(ExportedDocument xdoc,
Path toPath)
Import a new document given its path keeping his id
|
writebeforeCreateDocument, beforeSaveDocument, close, getFieldClass, getSaveInterval, getTranslationMap, loadFacetsInfo, loadSchema, loadSchemas, loadSystemInfo, saveIfNeeded, setSaveInterval, updateDocumentcreateCompactFormat, createPrettyPrint, write, writepublic ShowcaseWriter(CoreSession session, String parentPath, int saveInterval)
protected DocumentModel createDocument(ExportedDocument xdoc, Path toPath)
The parent of this document is assumed to exist.
createDocument in class AbstractDocumentModelWriterxdoc - the document containingtoPath - the path of the doc to createCopyright © 2018 Nuxeo. All rights reserved.