public class TransferSummaryReportImpl extends Object implements TransferSummaryReport
| Modifier and Type | Field and Description |
|---|---|
static String |
_SIMPLE_REPORT |
| Constructor and Description |
|---|
TransferSummaryReportImpl(String transferId) |
| Modifier and Type | Method and Description |
|---|---|
protected Writer |
createUnderlyingLogWriter(String transferId) |
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 oldPath)
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 |
setContentService(ContentService contentService) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setTransferSummaryReportLocation(String transferSummaryReportLocation) |
public static final String _SIMPLE_REPORT
public TransferSummaryReportImpl(String transferId)
public 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)
TransferSummaryReportlogSummaryCreated in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefnewParent - NodeRefnewPath - Stringorphan - booleanpublic void logSummaryUpdated(org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef destNode,
String path)
TransferSummaryReportlogSummaryUpdated in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefpath - The path of the updated nodepublic void logSummaryDeleted(org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef destNode,
String oldPath)
TransferSummaryReportlogSummaryDeleted in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefoldPath - The path of the updated nodepublic 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)
TransferSummaryReportlogSummaryMoved in interface TransferSummaryReportsourceNodeRef - NodeRefdestNodeRef - NodeRefoldPath - StringnewParent - NodeRefnewPath - Stringpublic void logSummaryComment(Object obj) throws TransferException
TransferSummaryReportlogSummaryComment in interface TransferSummaryReportobj - ObjectTransferExceptionpublic void logSummaryException(Object obj, Throwable ex) throws TransferException
TransferSummaryReportlogSummaryException in interface TransferSummaryReportobj - Objectex - ThrowableTransferExceptionpublic void logSummaryUpdateStatus(TransferProgress.Status status) throws TransferException
TransferSummaryReportlogSummaryUpdateStatus in interface TransferSummaryReportstatus - TransferProgress.StatusTransferExceptionpublic void finishSummaryReport()
TransferSummaryReportfinishSummaryReport in interface TransferSummaryReportpublic void setTransferSummaryReportLocation(String transferSummaryReportLocation)
public void setFileFolderService(FileFolderService fileFolderService)
public void setContentService(ContentService contentService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Copyright © 2005–2018 Alfresco Software. All rights reserved.