public class LocalContentServiceHelper extends java.lang.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,
java.io.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,
java.io.File archiveFile)
throws org.alfresco.service.cmr.repository.ContentIOException,
java.io.FileNotFoundException,
java.io.IOException
ContentServiceHelperupdateContent in interface ContentServiceHelperorg.alfresco.service.cmr.repository.ContentIOExceptionjava.io.FileNotFoundExceptionjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.