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