Package org.alfresco.repo.download
Interface ContentServiceHelper
-
- All Known Implementing Classes:
LocalContentServiceHelper
public interface ContentServiceHelperContentServiceHelper 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 voidupdateContent(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.IOExceptionImplementations should update the content of downlaodNode with contents of archiveFile.- Parameters:
downloadNode- NodeRefarchiveFile- File- Throws:
org.alfresco.service.cmr.repository.ContentIOExceptionjava.io.FileNotFoundExceptionjava.io.IOException
-
-