eu.etaxonomy.cdm.persistence.hibernate.permission
Enum CdmPermission
java.lang.Object
java.lang.Enum<CdmPermission>
eu.etaxonomy.cdm.persistence.hibernate.permission.CdmPermission
- All Implemented Interfaces:
- Serializable, Comparable<CdmPermission>
public enum CdmPermission
- extends Enum<CdmPermission>
- Author:
- k.luther
Method Summary |
static CdmPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CdmPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CREATE
public static final CdmPermission CREATE
READ
public static final CdmPermission READ
UPDATE
public static final CdmPermission UPDATE
DELETE
public static final CdmPermission DELETE
DENYALL
public static final CdmPermission DENYALL
ADMIN
public static final CdmPermission ADMIN
values
public static CdmPermission[] 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 (CdmPermission c : CdmPermission.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CdmPermission 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
Copyright © 2007-2012 EDIT. All Rights Reserved.