Class LocalContentServiceHelper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setContentService​(ContentService contentService)  
      void updateContent​(org.alfresco.service.cmr.repository.NodeRef downloadNode, java.io.File archiveFile)
      Implementations should update the content of downlaodNode with contents of archiveFile.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalContentServiceHelper

        public LocalContentServiceHelper()
    • Method Detail

      • setContentService

        public void setContentService​(ContentService contentService)
      • updateContent

        public 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
        Description copied from interface: ContentServiceHelper
        Implementations should update the content of downlaodNode with contents of archiveFile.
        Specified by:
        updateContent in interface ContentServiceHelper
        Parameters:
        downloadNode - NodeRef
        archiveFile - File
        Throws:
        org.alfresco.service.cmr.repository.ContentIOException
        java.io.FileNotFoundException
        java.io.IOException