public enum PermissionType extends java.lang.Enum<PermissionType> implements EnumClass<java.lang.Integer>
id - corresponding value stored in the database| Enum Constant and Description |
|---|
ENTITY_ATTR
Permission to entity attribute (see
EntityAttrAccess) |
ENTITY_OP
Permission to entity operation (see
EntityOp) |
SCREEN
Permission to screen
|
SPECIFIC
Application-specific permission
|
UI
Permissions for UI components in screens
|
| Modifier and Type | Method and Description |
|---|---|
static PermissionType |
fromId(java.lang.Integer id)
Constructs type from corresponding database value
|
java.lang.Integer |
getId()
Returns corresponding database value
|
static PermissionType |
valueOf(java.lang.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.
|
public static final PermissionType SCREEN
public static final PermissionType ENTITY_OP
EntityOp)public static final PermissionType ENTITY_ATTR
EntityAttrAccess)public static final PermissionType SPECIFIC
public static final PermissionType UI
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Integer getId()
public static PermissionType fromId(java.lang.Integer id)