org.alfresco.repo.copy
Class CopyBehaviourCallback.ChildAssocCopyAction

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

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

Description of how the copy process should traverse a child association. The order of this enum denotes the priority when mixing behaviour as well; that is to say that a 'forced recursion' will occur even if an 'ignore' is also provided by the registered behaviour callbacks.

Since:
3.2
See Also:
Serialized Form

Field Summary
static CopyBehaviourCallback.ChildAssocCopyAction COPY_ASSOC
          Copy the association only, keeping the existing child node
static CopyBehaviourCallback.ChildAssocCopyAction COPY_CHILD
          Traverse the child association and copy the child node
static CopyBehaviourCallback.ChildAssocCopyAction IGNORE
          Ignore the child association
 
Method Summary
static CopyBehaviourCallback.ChildAssocCopyAction valueOf(java.lang.String name)
           
static CopyBehaviourCallback.ChildAssocCopyAction[] 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

IGNORE

public static final CopyBehaviourCallback.ChildAssocCopyAction IGNORE
Ignore the child association


COPY_ASSOC

public static final CopyBehaviourCallback.ChildAssocCopyAction COPY_ASSOC
Copy the association only, keeping the existing child node


COPY_CHILD

public static final CopyBehaviourCallback.ChildAssocCopyAction COPY_CHILD
Traverse the child association and copy the child node

Method Detail

values

public static CopyBehaviourCallback.ChildAssocCopyAction[] values()

valueOf

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


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