Enum PermissionType
- java.lang.Object
- 
- java.lang.Enum<PermissionType>
- 
- com.broadleafcommerce.auth.security.domain.PermissionType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<PermissionType>
 
 public enum PermissionType extends Enum<PermissionType> - Author:
- Jeff Fischer, Phillip Verheyden (phillipuniverse)
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>prefixes()Returns all the set of values within thePermissionTypecombined with theDELIMITERstatic PermissionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PermissionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
CREATEpublic static final PermissionType CREATE 
 - 
READpublic static final PermissionType READ 
 - 
UPDATEpublic static final PermissionType UPDATE 
 - 
DELETEpublic static final PermissionType DELETE 
 - 
ALLpublic static final PermissionType ALL 
 - 
NONEpublic static final PermissionType NONE 
 
- 
 - 
Field Detail- 
DELIMITERpublic static final String DELIMITER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
valuespublic static 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 (PermissionType c : PermissionType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static 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 name
- NullPointerException- if the argument is null
 
 - 
prefixespublic static List<String> prefixes() Returns all the set of values within thePermissionTypecombined with theDELIMITER- Returns:
- all prefixes including the DELIMITER
 
 
- 
 
-