Interface TransferManifestNodeFactory
- All Known Implementing Classes:
TransferManifestNodeFactoryImpl
public interface TransferManifestNodeFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext) Create an object that represents the specified node in a form that can be used to transfer it elsewhere.createTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext, boolean forceDelete) Create an object that represents the specified node in a form that can be used to transfer it elsewhere
-
Method Details
-
createTransferManifestNode
TransferManifestNode createTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext) Create an object that represents the specified node in a form that can be used to transfer it elsewhere. Calling this operation is identical to callingcreateTransferManifestNode(NodeRef, TransferDefinition, TransferContext, boolean)specifyingfalseas the value of theforceDeleteparameter.- Parameters:
nodeRef- The identifier of the node to be distilled for transferdefinition- The transfer definition against which the node is being transferredtransferContext- internal runtime context of a transfer- Returns:
- An object that holds a snapshot of the state of the specified node suitable for transfer elsewhere.
-
createTransferManifestNode
TransferManifestNode createTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext, boolean forceDelete) Create an object that represents the specified node in a form that can be used to transfer it elsewhere- Parameters:
nodeRef- The identifier of the node to be distilled for transferdefinition- The transfer definition against which the node is being transferredforceDelete- If this flag is set then the returned TransferManifestNode object will represent the removal of the specified node, even if the node still exists in this repository. This allows a node to be removed from the target repository even if it hasn't been removed in the source repository.transferContext- internal runtime context of a transfer- Returns:
- An object that holds a snapshot of the state of the specified node suitable for transfer elsewhere.
-