Package org.alfresco.service.cmr.view
Interface ExportPackageHandler
- All Known Implementing Classes:
ACPExportPackageHandler,FileExportPackageHandler
public interface ExportPackageHandler
Contract for a custom content property exporter.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptionCreate a stream for accepting the package datavoidEnd the ExportexportContent(InputStream content, ContentData contentData) Call-back for handling the export of content stream.voidStart the Export
-
Method Details
-
startExport
void startExport()Start the Export -
createDataStream
OutputStream createDataStream()Create a stream for accepting the package data- Returns:
- the output stream
-
exportContent
Call-back for handling the export of content stream.- Parameters:
content- content to exportcontentData- content descriptor- Returns:
- the URL to the location of the exported content
-
endExport
void endExport()End the Export
-