|
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.io.impl.AbstractDocumentWriter org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter org.nuxeo.ecm.core.io.impl.plugins.DocumentModelInjector
public class DocumentModelInjector
Constructor Summary | |
---|---|
DocumentModelInjector(CoreSession session,
java.lang.String parentPath)
|
|
DocumentModelInjector(CoreSession session,
java.lang.String parentPath,
int saveInterval)
|
Method Summary | |
---|---|
DocumentTranslationMap |
write(ExportedDocument xdoc)
Writes a single document. |
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter |
---|
close, getSaveInterval, getTranslationMap, setSaveInterval |
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter |
---|
write, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentModelInjector(CoreSession session, java.lang.String parentPath)
session
- the session to the repository where to writeparentPath
- where to write the tree. this document will be used as
the parent of all top level documents passed as input. Note
that you may havepublic DocumentModelInjector(CoreSession session, java.lang.String parentPath, int saveInterval)
Method Detail |
---|
public DocumentTranslationMap write(ExportedDocument xdoc) throws java.io.IOException
DocumentWriter
write
in interface DocumentWriter
write
in class AbstractDocumentWriter
xdoc
- the document to write
java.io.IOException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |