public class ManifestProcessorImpl extends AbstractManifestProcessorBase
Constructor and Description |
---|
ManifestProcessorImpl(TransferReceiver receiver,
String transferId,
DbHelper dbHelper) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
deleteNode(FileTransferInfoEntity nodeToDelete,
String pathPrefix) |
protected void |
endManifest() |
protected void |
localHandleException(TransferManifestNode node,
Throwable ex)
This method is invoked if an exception or error occurs while processing the manifest.
|
protected void |
logCreated(String sourceNode,
String newParentNode,
String parentPath,
boolean orphan) |
protected void |
logDeleted(String sourceNode,
String parentPath) |
protected void |
logMoved(String sourceNode,
String oldPath,
String newParent,
String newPath) |
protected void |
logUpdated(String sourceNode,
String newPath) |
protected void |
processHeader(TransferManifestHeader header) |
protected void |
processNode(TransferManifestDeletedNode node) |
protected void |
processNode(TransferManifestNormalNode node) |
protected void |
startManifest() |
endTransferManifest, getReceiver, getStagingFolder, getTemporaryLocation, getTransferId, getTransferSummaryReport, logComment, logCreated, logDeleted, logInvasionHierarchy, logMoved, logSummaryComment, logSummaryCreated, logSummaryDeleted, logSummaryMoved, logSummaryUpdated, logUpdated, processTransferManifestNode, processTransferManifestNode, processTransferManifiestHeader, setTransferSummaryReport, startTransferManifest
public ManifestProcessorImpl(TransferReceiver receiver, String transferId, DbHelper dbHelper)
protected void processHeader(TransferManifestHeader header)
processHeader
in class AbstractManifestProcessorBase
protected void startManifest()
startManifest
in class AbstractManifestProcessorBase
protected void endManifest()
endManifest
in class AbstractManifestProcessorBase
protected boolean deleteNode(FileTransferInfoEntity nodeToDelete, String pathPrefix)
protected void processNode(TransferManifestDeletedNode node) throws TransferProcessingException
processNode
in class AbstractManifestProcessorBase
TransferProcessingException
protected void processNode(TransferManifestNormalNode node) throws TransferProcessingException
processNode
in class AbstractManifestProcessorBase
TransferProcessingException
protected void localHandleException(TransferManifestNode node, Throwable ex)
AbstractManifestProcessorBase
localHandleException
in class AbstractManifestProcessorBase
node
- TransferManifestNodeex
- Throwableprotected void logCreated(String sourceNode, String newParentNode, String parentPath, boolean orphan)
Copyright © 2005–2017 Alfresco Software. All rights reserved.