public interface TransferSummaryReport
Modifier and Type | Method and Description |
---|---|
void |
finishSummaryReport()
called to close the report file
|
void |
logSummaryComment(Object obj)
log an ad-hoc message
|
void |
logSummaryCreated(org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef destNode,
org.alfresco.service.cmr.repository.NodeRef newParent,
String newPath,
boolean orphan)
Log the creation of a new node
|
void |
logSummaryDeleted(org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef destNode,
String path)
Log the deletion of a node
|
void |
logSummaryException(Object obj,
Throwable ex)
log an ad-hoc message and an exception
|
void |
logSummaryMoved(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef destNodeRef,
String oldPath,
org.alfresco.service.cmr.repository.NodeRef newParent,
String newPath)
After the transfer has completed this method reads the log.
|
void |
logSummaryUpdated(org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef destNode,
String path)
Log the creation of a new node
|
void |
logSummaryUpdateStatus(TransferProgress.Status status)
update the status of the transfer
|
void logSummaryCreated(org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, org.alfresco.service.cmr.repository.NodeRef newParent, String newPath, boolean orphan)
sourceNode
- NodeRefdestNode
- NodeRefnewParent
- NodeRefnewPath
- Stringorphan
- booleanvoid logSummaryUpdated(org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, String path)
sourceNode
- NodeRefdestNode
- NodeRefpath
- The path of the updated nodevoid logSummaryDeleted(org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, String path)
sourceNode
- NodeRefdestNode
- NodeRefpath
- The path of the updated nodevoid logSummaryMoved(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef destNodeRef, String oldPath, org.alfresco.service.cmr.repository.NodeRef newParent, String newPath)
sourceNodeRef
- NodeRefdestNodeRef
- NodeRefoldPath
- StringnewParent
- NodeRefnewPath
- Stringvoid logSummaryComment(Object obj) throws TransferException
obj
- ObjectTransferException
void logSummaryException(Object obj, Throwable ex) throws TransferException
obj
- Objectex
- ThrowableTransferException
void logSummaryUpdateStatus(TransferProgress.Status status) throws TransferException
status
- TransferProgress.StatusTransferException
void finishSummaryReport()
Copyright © 2005–2017 Alfresco Software. All rights reserved.