public class TransferManifestNodeFactoryImpl extends Object implements TransferManifestNodeFactory
| Constructor and Description |
|---|
TransferManifestNodeFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
|
void |
init() |
void |
setDictionaryService(DictionaryService dictionaryService) |
void |
setMlAwareNodeService(NodeService mlAwareNodeService) |
void |
setNodeService(NodeService nodeService) |
void |
setPermissionService(PermissionService permissionService) |
public void init()
public TransferManifestNode createTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext)
TransferManifestNodeFactoryTransferManifestNodeFactory.createTransferManifestNode(NodeRef, TransferDefinition, TransferContext, boolean)
specifying false as the value of the forceDelete parameter.createTransferManifestNode in interface TransferManifestNodeFactorynodeRef - 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 transferpublic TransferManifestNode createTransferManifestNode(NodeRef nodeRef, TransferDefinition definition, TransferContext transferContext, boolean forceDelete)
TransferManifestNodeFactorycreateTransferManifestNode in interface TransferManifestNodeFactorynodeRef - 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 transferforceDelete - 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.public void setNodeService(NodeService nodeService)
public void setMlAwareNodeService(NodeService mlAwareNodeService)
public void setPermissionService(PermissionService permissionService)
public void setDictionaryService(DictionaryService dictionaryService)
Copyright © 2005–2020 Alfresco Software. All rights reserved.