org.alfresco.repo.copy
Class CopyBehaviourCallback.AssocCopySourceAction
java.lang.Object
java.lang.Enum
org.alfresco.repo.copy.CopyBehaviourCallback.AssocCopySourceAction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing interface:
- CopyBehaviourCallback
public static final class CopyBehaviourCallback.AssocCopySourceAction
- extends java.lang.Enum
- implements java.lang.Comparable
Description of how the copy process should handle multiplicity of peer associations
at the source 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
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 |
COPY
public static final CopyBehaviourCallback.AssocCopySourceAction COPY
- Always copy the association.
Note that this can cause duplicate associations when copying over
existing target nodes
.
COPY_REMOVE_EXISTING
public static final CopyBehaviourCallback.AssocCopySourceAction COPY_REMOVE_EXISTING
- Always copy the association but remove the copy-target's matching associations
when copying over an existing node.
This is akin to the original CopyService behaviour
(see ALF-958).
IGNORE
public static final CopyBehaviourCallback.AssocCopySourceAction IGNORE
- Ignore the association
values
public static CopyBehaviourCallback.AssocCopySourceAction[] values()
valueOf
public static CopyBehaviourCallback.AssocCopySourceAction valueOf(java.lang.String name)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.