Package org.alfresco.repo.copy
Enum Class CopyBehaviourCallback.AssocCopyTargetAction
java.lang.Object
java.lang.Enum<CopyBehaviourCallback.AssocCopyTargetAction>
org.alfresco.repo.copy.CopyBehaviourCallback.AssocCopyTargetAction
- All Implemented Interfaces:
Serializable,Comparable<CopyBehaviourCallback.AssocCopyTargetAction>,Constable
- Enclosing interface:
- CopyBehaviourCallback
public static enum CopyBehaviourCallback.AssocCopyTargetAction
extends Enum<CopyBehaviourCallback.AssocCopyTargetAction>
implements Comparable<CopyBehaviourCallback.AssocCopyTargetAction>
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.
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
- Author:
- Derek Hulley
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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.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.The copied association will use, as target, the original association's target i.e. the target of the association will remain as it was. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface java.lang.Comparable
compareTo
-
Enum Constant Details
-
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
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_TARGETThe 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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-