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
ContentServiceHelperupdateContent in interface ContentServiceHelperdownloadNode - NodeRefarchiveFile - Fileorg.alfresco.service.cmr.repository.ContentIOExceptionFileNotFoundExceptionIOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.