public class TransferReporterImpl extends Object implements TransferReporter
| Constructor and Description |
|---|
TransferReporterImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
createDestinationTransferReport(TransferTarget target) |
org.alfresco.service.cmr.repository.NodeRef |
createTransferReport(String transferName,
Exception e,
TransferTarget target,
TransferDefinition definition,
List<TransferEvent> events,
File snapshotFile)
Write exception transfer report
|
org.alfresco.service.cmr.repository.NodeRef |
createTransferReport(String transferName,
Transfer transfer,
TransferTarget target,
TransferDefinition definition,
List<TransferEvent> events,
File snapshotFile)
Create a new transfer report of success
|
ContentService |
getContentService() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
void |
init() |
void |
setContentService(ContentService contentService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
org.alfresco.service.cmr.repository.NodeRef |
writeDestinationReport(String transferName,
TransferTarget target,
File tempFile)
Write the destination transfer report into the local repo.
|
public void init()
public org.alfresco.service.cmr.repository.NodeRef createDestinationTransferReport(TransferTarget target)
public org.alfresco.service.cmr.repository.NodeRef createTransferReport(String transferName, Exception e, TransferTarget target, TransferDefinition definition, List<TransferEvent> events, File snapshotFile)
createTransferReport in interface TransferReportertransferName - - the unique name of this transfer - probably based upon the time of transfer.e - the exceptiontarget - the target of the transferdefinition - the definition of the transfersnapshotFile - the snapshot filepublic org.alfresco.service.cmr.repository.NodeRef createTransferReport(String transferName, Transfer transfer, TransferTarget target, TransferDefinition definition, List<TransferEvent> events, File snapshotFile)
createTransferReport in interface TransferReportertransferName - - the unique name of this transfer - probably based upon the time of transfer.transfer - the transfer.target - the target of the transferdefinition - the definition of the transferevents - the transfer events generated by the transfer.snapshotFile - the snapshot filepublic org.alfresco.service.cmr.repository.NodeRef writeDestinationReport(String transferName, TransferTarget target, File tempFile)
TransferReporterwriteDestinationReport in interface TransferReportertransferName - the unique name of this transfer - probably based upon the time of transfer.target - the target of the transfertempFile - the temporary file containing the contents of the destination side transfer report.public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setContentService(ContentService contentService)
public ContentService getContentService()
Copyright © 2005–2018 Alfresco Software. All rights reserved.