|
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.platform.publisher.remoting.marshaling.io.SingleShadowDocumentWriter
public class SingleShadowDocumentWriter
DocumentModelWriter
that creates a shallow DocumentModel (ie: no
path and no uuid).
Constructor Summary | |
---|---|
SingleShadowDocumentWriter(CoreSession session,
java.lang.String parentPath)
|
Method Summary | |
---|---|
DocumentModel |
getShadowDocument()
|
DocumentTranslationMap |
write(ExportedDocument doc)
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 SingleShadowDocumentWriter(CoreSession session, java.lang.String parentPath)
Method Detail |
---|
public DocumentTranslationMap write(ExportedDocument doc) throws java.io.IOException
DocumentWriter
write
in interface DocumentWriter
write
in class AbstractDocumentWriter
doc
- the document to write
java.io.IOException
public DocumentModel getShadowDocument()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |