org.apache.chemistry.opencmis.commons.enums
Enum Action

java.lang.Object
  extended by java.lang.Enum<Action>
      extended by org.apache.chemistry.opencmis.commons.enums.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Action>

public enum Action
extends java.lang.Enum<Action>


Enum Constant Summary
CAN_ADD_OBJECT_TO_FOLDER
           
CAN_APPLY_ACL
           
CAN_APPLY_POLICY
           
CAN_CANCEL_CHECK_OUT
           
CAN_CHECK_IN
           
CAN_CHECK_OUT
           
CAN_CREATE_DOCUMENT
           
CAN_CREATE_FOLDER
           
CAN_CREATE_RELATIONSHIP
           
CAN_DELETE_CONTENT_STREAM
           
CAN_DELETE_OBJECT
           
CAN_DELETE_TREE
           
CAN_GET_ACL
           
CAN_GET_ALL_VERSIONS
           
CAN_GET_APPLIED_POLICIES
           
CAN_GET_CHILDREN
           
CAN_GET_CONTENT_STREAM
           
CAN_GET_DESCENDANTS
           
CAN_GET_FOLDER_PARENT
           
CAN_GET_FOLDER_TREE
           
CAN_GET_OBJECT_PARENTS
           
CAN_GET_OBJECT_RELATIONSHIPS
           
CAN_GET_PROPERTIES
           
CAN_GET_RENDITIONS
           
CAN_MOVE_OBJECT
           
CAN_REMOVE_OBJECT_FROM_FOLDER
           
CAN_REMOVE_POLICY
           
CAN_SET_CONTENT_STREAM
           
CAN_UPDATE_PROPERTIES
           
 
Method Summary
static Action fromValue(java.lang.String v)
           
 java.lang.String value()
           
static Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Action[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static Action fromValue(java.lang.String v)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.