Interface ContentServiceHelper

  • All Known Implementing Classes:
    LocalContentServiceHelper

    public interface ContentServiceHelper
    ContentServiceHelper interface. Allows us to switch between the zip creation process updating content using a local content service and updating the content through a remote alfresco node.
    Author:
    amiller
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void updateContent​(org.alfresco.service.cmr.repository.NodeRef downloadNode, java.io.File archiveFile)
      Implementations should update the content of downlaodNode with contents of archiveFile.
    • Method Detail

      • updateContent

        void updateContent​(org.alfresco.service.cmr.repository.NodeRef downloadNode,
                           java.io.File archiveFile)
                    throws org.alfresco.service.cmr.repository.ContentIOException,
                           java.io.FileNotFoundException,
                           java.io.IOException
        Implementations should update the content of downlaodNode with contents of archiveFile.
        Parameters:
        downloadNode - NodeRef
        archiveFile - File
        Throws:
        org.alfresco.service.cmr.repository.ContentIOException
        java.io.FileNotFoundException
        java.io.IOException