eu.etaxonomy.cdm.persistence.hibernate.permission
Enum CdmPermission

java.lang.Object
  extended by java.lang.Enum<CdmPermission>
      extended by eu.etaxonomy.cdm.persistence.hibernate.permission.CdmPermission
All Implemented Interfaces:
Serializable, Comparable<CdmPermission>

public enum CdmPermission
extends Enum<CdmPermission>

Author:
k.luther

Enum Constant Summary
ADMIN
           
CREATE
           
DELETE
           
DENYALL
           
READ
           
UPDATE
           
 
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.
 
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

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

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.