Enum DispositionServiceImpl.WriteMode
- java.lang.Object
-
- java.lang.Enum<DispositionServiceImpl.WriteMode>
-
- org.alfresco.module.org_alfresco_module_rm.disposition.DispositionServiceImpl.WriteMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DispositionServiceImpl.WriteMode>
- Enclosing class:
- DispositionServiceImpl
public static enum DispositionServiceImpl.WriteMode extends Enum<DispositionServiceImpl.WriteMode>
Transaction mode for setting next action
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE_AND_NAME
Set the "disposition as of" date and the name of the next action.DATE_ONLY
Only set the "disposition as of" date.READ_ONLY
Do not update any data.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DispositionServiceImpl.WriteMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DispositionServiceImpl.WriteMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_ONLY
public static final DispositionServiceImpl.WriteMode READ_ONLY
Do not update any data.
-
DATE_ONLY
public static final DispositionServiceImpl.WriteMode DATE_ONLY
Only set the "disposition as of" date.
-
DATE_AND_NAME
public static final DispositionServiceImpl.WriteMode DATE_AND_NAME
Set the "disposition as of" date and the name of the next action. This only happens during the creation of a disposition schedule impl node under a record or folder.
-
-
Method Detail
-
values
public static DispositionServiceImpl.WriteMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DispositionServiceImpl.WriteMode c : DispositionServiceImpl.WriteMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DispositionServiceImpl.WriteMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-