org.alfresco.repo.copy
Interface CopyServicePolicies.OnCopyCompletePolicy

All Superinterfaces:
ClassPolicy, Policy
Enclosing interface:
CopyServicePolicies

public static interface CopyServicePolicies.OnCopyCompletePolicy
extends ClassPolicy

Policy invoked when the copy operation invoked on a node is complete.

The copy map contains all the nodes created during the copy, this helps to re-map any potentially relative associations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg
 
Field Summary
static Policy.Arg ARG_0
           
static Policy.Arg ARG_1
           
 
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
 
Method Summary
 void onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef destinationRef, boolean copyToNewNode, java.util.Map copyMap)
           
 

Field Detail

ARG_0

static final Policy.Arg ARG_0

ARG_1

static final Policy.Arg ARG_1
Method Detail

onCopyComplete

void onCopyComplete(QName classRef,
                    NodeRef sourceNodeRef,
                    NodeRef destinationRef,
                    boolean copyToNewNode,
                    java.util.Map copyMap)
Parameters:
classRef - the type of the node that was copied
sourceNodeRef - the origional node
destinationRef - the destination node
copyMap - a map containing all the nodes that have been created during the copy


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.