public static enum RolePermissions.Permission extends java.lang.Enum<RolePermissions.Permission>
| Enum Constant and Description |
|---|
ADMIN
Indicates that the user has admin permission.
|
CREATE
Indicates that the user may create elements of the type over which he
has this permission.
|
EXECUTE
Indicates that the user may read and execute the element.
|
READ
Indicates that the user may read the element.
|
WRITE
Indicates that the user may modify/delete elements of the type over
which he has this permission.
|
| Modifier and Type | Method and Description |
|---|---|
static RolePermissions.Permission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RolePermissions.Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RolePermissions.Permission ADMIN
public static final RolePermissions.Permission READ
public static final RolePermissions.Permission CREATE
public static final RolePermissions.Permission WRITE
public static final RolePermissions.Permission EXECUTE
public static RolePermissions.Permission[] values()
for (RolePermissions.Permission c : RolePermissions.Permission.values()) System.out.println(c);
public static RolePermissions.Permission 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 nullCopyright © 2024 Denodo Technologies. All rights reserved.