public enum Permission extends Enum<Permission>
| Enum Constant and Description |
|---|
COUNT |
DELETE |
FIND |
FIND_ALL |
FIND_ENTRIES |
SAVE |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final Permission COUNT
public static final Permission DELETE
public static final Permission FIND
public static final Permission FIND_ALL
public static final Permission FIND_ENTRIES
public static final Permission SAVE
public static final Permission UPDATE
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.springframework.roo.classpath.customdata.tagkeys.MethodMetadataCustomDataKey getKey()
public abstract String getBaseName()
public abstract String getName(org.springframework.roo.model.JavaType entityType, String plural)
annotationValues - the values of the RooService annotation
on the serviceentityType - the type of domain entity managed by the serviceplural - the plural form of the entitynull if the method is not implementedCopyright © 2009–2015. All rights reserved.