Package org.alfresco.rest.core.v0
Enum BaseAPI.RM_ACTIONS
- java.lang.Object
-
- java.lang.Enum<BaseAPI.RM_ACTIONS>
-
- org.alfresco.rest.core.v0.BaseAPI.RM_ACTIONS
-
- All Implemented Interfaces:
Serializable,Comparable<BaseAPI.RM_ACTIONS>
- Enclosing class:
- BaseAPI
public static enum BaseAPI.RM_ACTIONS extends Enum<BaseAPI.RM_ACTIONS>
Used to execute rm actions on a node
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE_EVENTCUT_OFFDESTROYEDIT_DISPOSITION_DATEEND_RETENTIONTRANSFERUNDO_CUT_OFFUNDO_EVENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()static BaseAPI.RM_ACTIONSvalueOf(String name)Returns the enum constant of this type with the specified name.static BaseAPI.RM_ACTIONS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDIT_DISPOSITION_DATE
public static final BaseAPI.RM_ACTIONS EDIT_DISPOSITION_DATE
-
END_RETENTION
public static final BaseAPI.RM_ACTIONS END_RETENTION
-
CUT_OFF
public static final BaseAPI.RM_ACTIONS CUT_OFF
-
UNDO_CUT_OFF
public static final BaseAPI.RM_ACTIONS UNDO_CUT_OFF
-
TRANSFER
public static final BaseAPI.RM_ACTIONS TRANSFER
-
COMPLETE_EVENT
public static final BaseAPI.RM_ACTIONS COMPLETE_EVENT
-
UNDO_EVENT
public static final BaseAPI.RM_ACTIONS UNDO_EVENT
-
DESTROY
public static final BaseAPI.RM_ACTIONS DESTROY
-
-
Method Detail
-
values
public static BaseAPI.RM_ACTIONS[] 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 (BaseAPI.RM_ACTIONS c : BaseAPI.RM_ACTIONS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseAPI.RM_ACTIONS 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
-
getAction
public String getAction()
-
-