|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceRole>
edu.internet2.middleware.grouper.service.ServiceRole
public enum ServiceRole
role in a service, admin (update or admin in service) or user (member of group/role or assignee of permissions)
| Enum Constant Summary | |
|---|---|
admin
admin of a service |
|
user
user of a service (might include admins) |
|
| Method Summary | |
|---|---|
static java.util.Collection<Field> |
allFieldsForGroupQuery()
get all fields for any role |
abstract java.util.Collection<Field> |
fieldsForGroupQuery()
e.g. return the fields for this service role |
static ServiceRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ServiceRole |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
convert a string to the service role enum |
static ServiceRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 ServiceRole admin
public static final ServiceRole user
| Method Detail |
|---|
public static ServiceRole[] values()
for (ServiceRole c : ServiceRole.values()) System.out.println(c);
public static ServiceRole 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 static java.util.Collection<Field> allFieldsForGroupQuery()
public abstract java.util.Collection<Field> fieldsForGroupQuery()
public static ServiceRole valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
string - exceptionOnNull -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||