Interface ExportPackageHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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