|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TypeOfGroup>
edu.internet2.middleware.grouper.group.TypeOfGroup
public enum TypeOfGroup
| Enum Constant Summary | |
|---|---|
entity
can be used as a subject which is not in a subject source, e.g. a service principal, schema, server, etc |
|
group
group (normal group of subjects) |
|
role
can be assigned groups or other subjects, and also privileges |
|
| Field Summary | |
|---|---|
static java.util.Set<TypeOfGroup> |
ENTITY_SET
set with entity |
static java.util.Set<TypeOfGroup> |
GROUP_OR_ROLE_SET
set with group or role |
| Method Summary | |
|---|---|
static void |
appendHqlQuery(java.lang.String groupAlias,
java.util.Set<TypeOfGroup> typeOfGroups,
java.lang.StringBuilder hql,
HqlQuery hqlQuery)
append the typeOfGroup part into an hql group query |
java.lang.String |
getName()
name for javabeans |
abstract boolean |
supportsField(Field field)
if this type of group supports this field (i.e. entities dont have READ privilege or members list) |
static TypeOfGroup |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TypeOfGroup |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching |
static TypeOfGroup[] |
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 TypeOfGroup group
public static final TypeOfGroup role
public static final TypeOfGroup entity
| Field Detail |
|---|
public static final java.util.Set<TypeOfGroup> GROUP_OR_ROLE_SET
public static final java.util.Set<TypeOfGroup> ENTITY_SET
| Method Detail |
|---|
public static TypeOfGroup[] values()
for (TypeOfGroup c : TypeOfGroup.values()) System.out.println(c);
public static TypeOfGroup 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.lang.String getName()
public static void appendHqlQuery(java.lang.String groupAlias,
java.util.Set<TypeOfGroup> typeOfGroups,
java.lang.StringBuilder hql,
HqlQuery hqlQuery)
groupAlias - is the alias in the group hql query e.g. theGrouptypeOfGroups - the set of TypeOfGroup or null for allhql - query so farhqlQuery - object to append the stored params topublic abstract boolean supportsField(Field field)
field -
public static TypeOfGroup valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
string - exceptionOnNull - will not allow null or blank entries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||