org.apache.chemistry.opencmis.commons.enums
Enum Action
java.lang.Object
java.lang.Enum<Action>
org.apache.chemistry.opencmis.commons.enums.Action
- All Implemented Interfaces:
- Serializable, Comparable<Action>
public enum Action
- extends Enum<Action>
CAN_DELETE_OBJECT
public static final Action CAN_DELETE_OBJECT
CAN_UPDATE_PROPERTIES
public static final Action CAN_UPDATE_PROPERTIES
CAN_GET_PROPERTIES
public static final Action CAN_GET_PROPERTIES
CAN_GET_OBJECT_RELATIONSHIPS
public static final Action CAN_GET_OBJECT_RELATIONSHIPS
CAN_GET_OBJECT_PARENTS
public static final Action CAN_GET_OBJECT_PARENTS
CAN_GET_FOLDER_PARENT
public static final Action CAN_GET_FOLDER_PARENT
CAN_GET_FOLDER_TREE
public static final Action CAN_GET_FOLDER_TREE
CAN_GET_DESCENDANTS
public static final Action CAN_GET_DESCENDANTS
CAN_MOVE_OBJECT
public static final Action CAN_MOVE_OBJECT
CAN_DELETE_CONTENT_STREAM
public static final Action CAN_DELETE_CONTENT_STREAM
CAN_CHECK_OUT
public static final Action CAN_CHECK_OUT
CAN_CANCEL_CHECK_OUT
public static final Action CAN_CANCEL_CHECK_OUT
CAN_CHECK_IN
public static final Action CAN_CHECK_IN
CAN_SET_CONTENT_STREAM
public static final Action CAN_SET_CONTENT_STREAM
CAN_GET_ALL_VERSIONS
public static final Action CAN_GET_ALL_VERSIONS
CAN_ADD_OBJECT_TO_FOLDER
public static final Action CAN_ADD_OBJECT_TO_FOLDER
CAN_REMOVE_OBJECT_FROM_FOLDER
public static final Action CAN_REMOVE_OBJECT_FROM_FOLDER
CAN_GET_CONTENT_STREAM
public static final Action CAN_GET_CONTENT_STREAM
CAN_APPLY_POLICY
public static final Action CAN_APPLY_POLICY
CAN_GET_APPLIED_POLICIES
public static final Action CAN_GET_APPLIED_POLICIES
CAN_REMOVE_POLICY
public static final Action CAN_REMOVE_POLICY
CAN_GET_CHILDREN
public static final Action CAN_GET_CHILDREN
CAN_CREATE_DOCUMENT
public static final Action CAN_CREATE_DOCUMENT
CAN_CREATE_FOLDER
public static final Action CAN_CREATE_FOLDER
CAN_CREATE_RELATIONSHIP
public static final Action CAN_CREATE_RELATIONSHIP
CAN_DELETE_TREE
public static final Action CAN_DELETE_TREE
CAN_GET_RENDITIONS
public static final Action CAN_GET_RENDITIONS
CAN_GET_ACL
public static final Action CAN_GET_ACL
CAN_APPLY_ACL
public static final Action CAN_APPLY_ACL
values
public static Action[] 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 (Action c : Action.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Action 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 name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static Action fromValue(String v)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.