Package org.alfresco.rest.core.v0
Enum BaseAPI.PermissionType
- java.lang.Object
-
- java.lang.Enum<BaseAPI.PermissionType>
-
- org.alfresco.rest.core.v0.BaseAPI.PermissionType
-
- All Implemented Interfaces:
Serializable,Comparable<BaseAPI.PermissionType>
- Enclosing class:
- BaseAPI
public static enum BaseAPI.PermissionType extends Enum<BaseAPI.PermissionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOVE_READREMOVE_READ_AND_FILESET_READSET_READ_AND_FILE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseAPI.PermissionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BaseAPI.PermissionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SET_READ
public static final BaseAPI.PermissionType SET_READ
-
REMOVE_READ
public static final BaseAPI.PermissionType REMOVE_READ
-
SET_READ_AND_FILE
public static final BaseAPI.PermissionType SET_READ_AND_FILE
-
REMOVE_READ_AND_FILE
public static final BaseAPI.PermissionType REMOVE_READ_AND_FILE
-
-
Method Detail
-
values
public static BaseAPI.PermissionType[] 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.PermissionType c : BaseAPI.PermissionType.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.PermissionType 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
-
-