public interface TransferDestinationReportWriter
Modifier and Type | Method and Description |
---|---|
void |
endTransferReport()
Called at the end of the destination transfer report.
|
void |
startTransferReport(String encoding,
Writer writer)
Called at the start of the destination transfer report.
|
void |
writeChangeState(String state)
a change of state
|
void |
writeComment(String comment)
An ad-hoc comment
|
void |
writeCreated(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef newNodeRef,
org.alfresco.service.cmr.repository.NodeRef newParentNodeRef,
String newPath)
Reporting creation of a new node
|
void |
writeDeleted(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef deletedNode,
String oldPath)
Reporting a node deleted
|
void |
writeException(Throwable t)
Reporting an exception
|
void |
writeMoved(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef movedNodeRef,
String oldPath,
org.alfresco.service.cmr.repository.NodeRef newParentNodeRef,
String newPath)
Reporting a node moved
|
void |
writeUpdated(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef updatedNode,
String updatedPath)
Reporting update of an existing node
|
void startTransferReport(String encoding, Writer writer)
encoding
- the encoding to use, utf-8.writer
- where to write the transfer reportvoid endTransferReport()
void writeChangeState(String state)
void writeComment(String comment)
void writeCreated(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef newNodeRef, org.alfresco.service.cmr.repository.NodeRef newParentNodeRef, String newPath)
void writeUpdated(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef updatedNode, String updatedPath)
void writeMoved(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef movedNodeRef, String oldPath, org.alfresco.service.cmr.repository.NodeRef newParentNodeRef, String newPath)
void writeDeleted(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef deletedNode, String oldPath)
void writeException(Throwable t)
Copyright © 2005–2017 Alfresco Software. All rights reserved.