public enum PermissionUserAccess extends java.lang.Enum<PermissionUserAccess>
| Enum Constant and Description |
|---|
MANAGEMENT_ANY
The permission requires user management over any type of user
|
MANAGEMENT_MEMBER
The permission requires user management over members
|
MY
The permission is only applicable for the logged user
|
MY_OR_RELATIONSHIP
The permission is either applicable to the logged user or a related user,
which must have the
Role.MEMBER role |
NONE
The permission is not related to users
|
RELATIONSHIP_ANY
The permission requires user relationship over any type of user
|
RELATIONSHIP_MEMBER
The permission requires user relationship over members
|
| Modifier and Type | Method and Description |
|---|---|
static PermissionUserAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionUserAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionUserAccess NONE
public static final PermissionUserAccess MY
public static final PermissionUserAccess MANAGEMENT_ANY
public static final PermissionUserAccess MANAGEMENT_MEMBER
public static final PermissionUserAccess RELATIONSHIP_ANY
public static final PermissionUserAccess RELATIONSHIP_MEMBER
public static final PermissionUserAccess MY_OR_RELATIONSHIP
Role.MEMBER rolepublic static PermissionUserAccess[] values()
for (PermissionUserAccess c : PermissionUserAccess.values()) System.out.println(c);
public static PermissionUserAccess 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 null