public class LocalContentServiceHelper extends Object implements ContentServiceHelper
ContentServiceHelper
implementation which uses the local ContentService to update the content.Constructor and Description |
---|
LocalContentServiceHelper() |
Modifier and Type | Method and Description |
---|---|
void |
setContentService(ContentService contentService) |
void |
updateContent(org.alfresco.service.cmr.repository.NodeRef downloadNode,
File archiveFile)
Implementations should update the content of downlaodNode with contents of archiveFile.
|
public void setContentService(ContentService contentService)
public void updateContent(org.alfresco.service.cmr.repository.NodeRef downloadNode, File archiveFile) throws org.alfresco.service.cmr.repository.ContentIOException, FileNotFoundException, IOException
ContentServiceHelper
updateContent
in interface ContentServiceHelper
downloadNode
- NodeRefarchiveFile
- Fileorg.alfresco.service.cmr.repository.ContentIOException
FileNotFoundException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.