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
|
write
close, getFieldClass, getSaveInterval, getTranslationMap, loadFacetsInfo, loadSchema, loadSchemas, loadSystemInfo, saveIfNeeded, setSaveInterval, updateDocument
createCompactFormat, createPrettyPrint, write, write
public 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 AbstractDocumentModelWriter
xdoc
- the document containingtoPath
- the path of the doc to createCopyright © 2015 Nuxeo SA. All rights reserved.