org.alfresco.repo.copy
Class CopyBehaviourCallback.AssocCopyTargetAction

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.copy.CopyBehaviourCallback.AssocCopyTargetAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing interface:
CopyBehaviourCallback

public static final class CopyBehaviourCallback.AssocCopyTargetAction
extends java.lang.Enum
implements java.lang.Comparable

Description of how the copy process should handle multiplicity of peer associations at the target end of the association.
The order of this enum denotes the priority when mixing behaviour as well; that is to say that a 'ignore' behaviour will occur even if an 'copy' is also provided by the registered behaviour callbacks.

Since:
3.3SP3
See Also:
Serialized Form

Field Summary
static CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_OTHERWISE_ORIGINAL_TARGET
          The copied association will use, as target, the node copied from the original target; if the original association's target is not copied in the original target is used.
static CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_TARGET
          The copied association will use, as target, the node copied from the original target; if the original association's target is not copied in the process, then nothing is done.
static CopyBehaviourCallback.AssocCopyTargetAction USE_ORIGINAL_TARGET
          The copied association will use, as target, the original association's target i.e.
 
Method Summary
static CopyBehaviourCallback.AssocCopyTargetAction valueOf(java.lang.String name)
           
static CopyBehaviourCallback.AssocCopyTargetAction[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

USE_ORIGINAL_TARGET

public static final CopyBehaviourCallback.AssocCopyTargetAction USE_ORIGINAL_TARGET
The copied association will use, as target, the original association's target i.e. the target of the association will remain as it was.


USE_COPIED_TARGET

public static final CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_TARGET
The copied association will use, as target, the node copied from the original target; if the original association's target is not copied in the process, then nothing is done.


USE_COPIED_OTHERWISE_ORIGINAL_TARGET

public static final CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_OTHERWISE_ORIGINAL_TARGET
The copied association will use, as target, the node copied from the original target; if the original association's target is not copied in the original target is used.

Method Detail

values

public static CopyBehaviourCallback.AssocCopyTargetAction[] values()

valueOf

public static CopyBehaviourCallback.AssocCopyTargetAction valueOf(java.lang.String name)


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