Class ExportDocument
java.lang.Object
org.nuxeo.ecm.platform.io.operation.ExportDocument
Operation that export a document.
- Since:
- 7.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanstatic final Stringprotected CoreSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentReadermakeDocumentReader(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip) protected DocumentWritermakeDocumentWriter(OutputStream outputStream, boolean exportAsTree, boolean exportAsZip) protected DocumentPipemakePipe(boolean exportAsTree) run(DocumentModel doc)
-
Field Details
-
ID
- See Also:
-
exportAsTree
protected boolean exportAsTree -
exportAsZip
protected boolean exportAsZip -
session
-
-
Constructor Details
-
ExportDocument
public ExportDocument()
-
-
Method Details
-
run
- Throws:
IOException
-
makePipe
-
makeDocumentReader
protected DocumentReader makeDocumentReader(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip) -
makeDocumentWriter
protected DocumentWriter makeDocumentWriter(OutputStream outputStream, boolean exportAsTree, boolean exportAsZip) throws IOException - Throws:
IOException
-