edu.internet2.middleware.grouper.misc
Enum GrouperObjectFinder.ObjectPrivilege

java.lang.Object
  extended by java.lang.Enum<GrouperObjectFinder.ObjectPrivilege>
      extended by edu.internet2.middleware.grouper.misc.GrouperObjectFinder.ObjectPrivilege
All Implemented Interfaces:
Serializable, Comparable<GrouperObjectFinder.ObjectPrivilege>
Enclosing class:
GrouperObjectFinder

public static enum GrouperObjectFinder.ObjectPrivilege
extends Enum<GrouperObjectFinder.ObjectPrivilege>

privilege type to query


Enum Constant Summary
admin
           
read
          objects where is there is a read privilege the grouper session can read
update
           
view
          objects that the grouper session can see
 
Method Summary
abstract  Set<Privilege> attributeDefPrivileges()
          privileges for attributeDef queries
abstract  Set<Privilege> groupPrivileges()
          privileges for group queries
abstract  Set<Privilege> stemPrivileges()
          privileges for stem queries
static GrouperObjectFinder.ObjectPrivilege valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GrouperObjectFinder.ObjectPrivilege[] 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

view

public static final GrouperObjectFinder.ObjectPrivilege view
objects that the grouper session can see


read

public static final GrouperObjectFinder.ObjectPrivilege read
objects where is there is a read privilege the grouper session can read


update

public static final GrouperObjectFinder.ObjectPrivilege update

admin

public static final GrouperObjectFinder.ObjectPrivilege admin
Method Detail

values

public static GrouperObjectFinder.ObjectPrivilege[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GrouperObjectFinder.ObjectPrivilege c : GrouperObjectFinder.ObjectPrivilege.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GrouperObjectFinder.ObjectPrivilege valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

stemPrivileges

public abstract Set<Privilege> stemPrivileges()
privileges for stem queries

Returns:
the privileges

groupPrivileges

public abstract Set<Privilege> groupPrivileges()
privileges for group queries

Returns:
the privileges

attributeDefPrivileges

public abstract Set<Privilege> attributeDefPrivileges()
privileges for attributeDef queries

Returns:
the privileges