Enum AccessOperation
- java.lang.Object
-
- java.lang.Enum<AccessOperation>
-
- edu.cornell.mannlib.vitro.webapp.auth.attributes.AccessOperation
-
- All Implemented Interfaces:
Serializable,Comparable<AccessOperation>
public enum AccessOperation extends Enum<AccessOperation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<AccessOperation>getOperations(AccessObjectType aot)static AccessOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTE
public static final AccessOperation EXECUTE
-
PUBLISH
public static final AccessOperation PUBLISH
-
UPDATE
public static final AccessOperation UPDATE
-
DISPLAY
public static final AccessOperation DISPLAY
-
ADD
public static final AccessOperation ADD
-
DROP
public static final AccessOperation DROP
-
EDIT
public static final AccessOperation EDIT
-
-
Method Detail
-
values
public static AccessOperation[] 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 (AccessOperation c : AccessOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessOperation 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
-
getOperations
public static List<AccessOperation> getOperations(AccessObjectType aot)
-
-