Class ExportDocument
java.lang.Object
org.nuxeo.ecm.platform.io.operation.ExportDocument
Operation that export a document.
- Since:
- 7.2
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
static final String
protected CoreSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentReader
makeDocumentReader
(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip) protected DocumentWriter
makeDocumentWriter
(OutputStream outputStream, boolean exportAsTree, boolean exportAsZip) protected DocumentPipe
makePipe
(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
-