org.springframework.roo.addon.security
Enum Permission

java.lang.Object
  extended by java.lang.Enum<Permission>
      extended by org.springframework.roo.addon.security.Permission
All Implemented Interfaces:
Serializable, Comparable<Permission>

public enum Permission
extends Enum<Permission>


Enum Constant Summary
COUNT
           
DELETE
           
FIND
           
FIND_ALL
           
FIND_ENTRIES
           
SAVE
           
UPDATE
           
 
Method Summary
abstract  String getBaseName()
           
 org.springframework.roo.classpath.customdata.tagkeys.MethodMetadataCustomDataKey getKey()
           
abstract  String getName(org.springframework.roo.model.JavaType entityType, String plural)
          Returns the name of this method, based on the given inputs
static Permission valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Permission[] 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

COUNT

public static final Permission COUNT

DELETE

public static final Permission DELETE

FIND

public static final Permission FIND

FIND_ALL

public static final Permission FIND_ALL

FIND_ENTRIES

public static final Permission FIND_ENTRIES

SAVE

public static final Permission SAVE

UPDATE

public static final Permission UPDATE
Method Detail

values

public static Permission[] 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 (Permission c : Permission.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Permission 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

getKey

public org.springframework.roo.classpath.customdata.tagkeys.MethodMetadataCustomDataKey getKey()

getBaseName

public abstract String getBaseName()

getName

public abstract String getName(org.springframework.roo.model.JavaType entityType,
                               String plural)
Returns the name of this method, based on the given inputs

Parameters:
annotationValues - the values of the RooService annotation on the service
entityType - the type of domain entity managed by the service
plural - the plural form of the entity
Returns:
null if the method is not implemented


Copyright © 2009–2015. All rights reserved.