Package org.alfresco.repo.download
Class LocalContentServiceHelper
java.lang.Object
org.alfresco.repo.download.LocalContentServiceHelper
- All Implemented Interfaces:
ContentServiceHelper
ContentServiceHelper implementation which uses the local ContentService to update the content.- Author:
- Alex Miller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetContentService(ContentService contentService) voidupdateContent(NodeRef downloadNode, File archiveFile) Implementations should update the content of downlaodNode with contents of archiveFile.
-
Constructor Details
-
LocalContentServiceHelper
public LocalContentServiceHelper()
-
-
Method Details
-
setContentService
-
updateContent
public void updateContent(NodeRef downloadNode, File archiveFile) throws ContentIOException, FileNotFoundException, IOException Description copied from interface:ContentServiceHelperImplementations should update the content of downlaodNode with contents of archiveFile.- Specified by:
updateContentin interfaceContentServiceHelper- Parameters:
downloadNode- NodeRefarchiveFile- File- Throws:
ContentIOExceptionFileNotFoundExceptionIOException
-