org.alfresco.repo.transfer.report
Class TransferReporterImpl
java.lang.Object
org.alfresco.repo.transfer.report.TransferReporterImpl
- All Implemented Interfaces:
- TransferReporter
public class TransferReporterImpl
- extends java.lang.Object
- implements TransferReporter
Implementation of TransferReporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransferReporterImpl
public TransferReporterImpl()
init
public void init()
createTransferReport
public NodeRef createTransferReport(java.lang.Exception e,
TransferTarget target,
TransferDefinition definition,
java.util.List events,
java.io.File snapshotFile)
- Write exception transfer report
- Specified by:
createTransferReport
in interface TransferReporter
- Returns:
- NodeRef the node ref of the new transfer report
createTransferReport
public NodeRef createTransferReport(Transfer transfer,
TransferTarget target,
TransferDefinition definition,
java.util.List events,
java.io.File snapshotFile)
- Create a new transfer report of success
- Specified by:
createTransferReport
in interface TransferReporter
target
- the target of the transferdefinition
- the definition of the transferevents
- the transfer events generated by the transfer.
- Returns:
- NodeRef the node ref of the new transfer report
setNodeService
public void setNodeService(NodeService nodeService)
getNodeService
public NodeService getNodeService()
setContentService
public void setContentService(ContentService contentService)
getContentService
public ContentService getContentService()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.