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(NodeRef sourceNode,
NodeRef destNode,
NodeRef newParent,
String newPath,
boolean orphan)
Log the creation of a new node
|
void |
logSummaryDeleted(NodeRef sourceNode,
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(NodeRef sourceNodeRef,
NodeRef destNodeRef,
String oldPath,
NodeRef newParent,
String newPath)
After the transfer has completed this method reads the log.
|
void |
logSummaryUpdated(NodeRef sourceNode,
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(NamespaceService namespaceService) |
void |
setNodeService(NodeService nodeService) |
void |
setSearchService(SearchService searchService) |
void |
setTransferSummaryReportLocation(String transferSummaryReportLocation) |
public static final String _SIMPLE_REPORT
public TransferSummaryReportImpl(String transferId)
public void logSummaryCreated(NodeRef sourceNode, NodeRef destNode, NodeRef newParent, String newPath, boolean orphan)
TransferSummaryReportlogSummaryCreated in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefnewParent - NodeRefnewPath - Stringorphan - booleanpublic void logSummaryUpdated(NodeRef sourceNode, NodeRef destNode, String path)
TransferSummaryReportlogSummaryUpdated in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefpath - The path of the updated nodepublic void logSummaryDeleted(NodeRef sourceNode, NodeRef destNode, String oldPath)
TransferSummaryReportlogSummaryDeleted in interface TransferSummaryReportsourceNode - NodeRefdestNode - NodeRefoldPath - The path of the updated nodepublic void logSummaryMoved(NodeRef sourceNodeRef, NodeRef destNodeRef, String oldPath, 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(NodeService nodeService)
public void setSearchService(SearchService searchService)
public void setNamespaceService(NamespaceService namespaceService)
Copyright © 2005–2021 Alfresco Software. All rights reserved.