org.alfresco.repo.copy
Interface CopyServicePolicies.OnCopyCompletePolicy
- All Superinterfaces:
- ClassPolicy, Policy
- All Known Implementing Classes:
- AccessAuditor, ActionsAspect, ActionServiceImpl, DiscussableAspect, RulesAspect, TaggingServiceImpl
- Enclosing interface:
- CopyServicePolicies
public static interface CopyServicePolicies.OnCopyCompletePolicy
- extends ClassPolicy
Final callback after the copy (including any cascading) has been completed. This should
be used where post-copy manipulation of nodes is required in order to enforce adherence
to a particular dictionary or business model.
The copy map contains all the nodes created during the copy, this helps to re-map
any potentially relative associations.
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
Policy.Arg |
Field Summary |
static org.alfresco.service.namespace.QName |
QNAME
|
Method Summary |
void |
onCopyComplete(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef,
boolean copyToNewNode,
java.util.Map copyMap)
|
QNAME
static final org.alfresco.service.namespace.QName QNAME
onCopyComplete
void onCopyComplete(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef,
boolean copyToNewNode,
java.util.Map copyMap)
- Parameters:
classRef
- the type of the node that was copiedsourceNodeRef
- the original nodetargetNodeRef
- the destination nodecopyMap
- a map containing all the nodes that have been created during the copy
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.