org.alfresco.service.cmr.view
Interface ExportPackageHandler

All Known Implementing Classes:
ACPExportPackageHandler, FileExportPackageHandler

public interface ExportPackageHandler

Contract for a custom content property exporter.


Method Summary
 java.io.OutputStream createDataStream()
          Create a stream for accepting the package data
 void endExport()
          End the Export
 org.alfresco.service.cmr.repository.ContentData exportContent(java.io.InputStream content, org.alfresco.service.cmr.repository.ContentData contentData)
          Call-back for handling the export of content stream.
 void startExport()
          Start the Export
 

Method Detail

startExport

void startExport()
Start the Export


createDataStream

java.io.OutputStream createDataStream()
Create a stream for accepting the package data

Returns:
the output stream

exportContent

org.alfresco.service.cmr.repository.ContentData exportContent(java.io.InputStream content,
                                                              org.alfresco.service.cmr.repository.ContentData contentData)
Call-back for handling the export of content stream.

Parameters:
content - content to export
contentData - content descriptor
Returns:
the URL to the location of the exported content

endExport

void endExport()
End the Export



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.