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(NodeRef downloadNode,
File archiveFile)
Implementations should update the content of downlaodNode with contents of archiveFile.
|
public void setContentService(ContentService contentService)
public void updateContent(NodeRef downloadNode, File archiveFile) throws ContentIOException, FileNotFoundException, IOException
ContentServiceHelperupdateContent in interface ContentServiceHelperdownloadNode - NodeRefarchiveFile - FileContentIOExceptionFileNotFoundExceptionIOExceptionCopyright © 2005–2020 Alfresco Software. All rights reserved.