Package org.alfresco.repo.download
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
Modifier and TypeMethodDescriptionvoidupdateContent(NodeRef downloadNode, File archiveFile) Implementations should update the content of downlaodNode with contents of archiveFile.
-
Method Details
-
updateContent
void updateContent(NodeRef downloadNode, File archiveFile) throws ContentIOException, FileNotFoundException, IOException Implementations should update the content of downlaodNode with contents of archiveFile.- Parameters:
downloadNode- NodeRefarchiveFile- File- Throws:
ContentIOExceptionFileNotFoundExceptionIOException
-