|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Permission>
net.bryansaunders.jee6divelog.security.enumerator.Permission
public enum Permission
Account Permissions.
Enum Constant Summary | |
---|---|
DELETE_SELF
Delete Self. |
|
EDIT_SELF
Edit Self. |
Method Summary | |
---|---|
java.util.Map<Role,java.lang.Boolean> |
getDefaultPermission()
Get the defaultPermission. |
static java.util.Set<Permission> |
getDefaults(Role role)
Get Default Permissions for the Given Role. |
static Permission |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Permission EDIT_SELF
public static final Permission DELETE_SELF
Method Detail |
---|
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.util.Map<Role,java.lang.Boolean> getDefaultPermission()
public static java.util.Set<Permission> getDefaults(Role role)
role
- Role to check Permissions for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |