Package org.alfresco.repo.download
Class LocalContentServiceHelper
- java.lang.Object
-
- org.alfresco.repo.download.LocalContentServiceHelper
-
- All Implemented Interfaces:
ContentServiceHelper
public class LocalContentServiceHelper extends java.lang.Object implements ContentServiceHelper
ContentServiceHelperimplementation which uses the local ContentService to update the content.- Author:
- Alex Miller
-
-
Constructor Summary
Constructors Constructor Description LocalContentServiceHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetContentService(ContentService contentService)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
-
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.IOExceptionDescription copied from interface:ContentServiceHelperImplementations should update the content of downlaodNode with contents of archiveFile.- Specified by:
updateContentin interfaceContentServiceHelper- Parameters:
downloadNode- NodeRefarchiveFile- File- Throws:
org.alfresco.service.cmr.repository.ContentIOExceptionjava.io.FileNotFoundExceptionjava.io.IOException
-
-