public static enum RolePermissions.Permission extends 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.
|
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(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 RolePermissions.Permission[] values()
for (RolePermissions.Permission c : RolePermissions.Permission.values()) System.out.println(c);
public static RolePermissions.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 nullCopyright © 2021 Denodo Technologies. All rights reserved.