edu.internet2.middleware.grouper.ui
Enum GrouperUiFilter.UiSection

java.lang.Object
  extended by java.lang.Enum<GrouperUiFilter.UiSection>
      extended by edu.internet2.middleware.grouper.ui.GrouperUiFilter.UiSection
All Implemented Interfaces:
Serializable, Comparable<GrouperUiFilter.UiSection>
Enclosing class:
GrouperUiFilter

public static enum GrouperUiFilter.UiSection
extends Enum<GrouperUiFilter.UiSection>
implements Serializable

which UI section we are in


Enum Constant Summary
ADMIN_UI
          normal admin ui
ANONYMOUS
          doesnt require login yet
EXTERNAL
          doesnt require login yet
INVITE_EXTERNAL_SUBJECTS
          simple membership update
SIMPLE_ATTRIBUTE_UPDATE
          simple membership update
SIMPLE_MEMBERSHIP_UPDATE
          simple membership update
SUBJECT_PICKER
          subject picker
 
Method Summary
 String getMediaKey()
          getter for media key
 Set<GrouperUiFilter.UiSection> getUiSectionsThatAllowThisSection()
          get sections that if allowed in there, you are allowed in here.
 boolean isAnonymous()
          if anonymous or requires login
static GrouperUiFilter.UiSection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GrouperUiFilter.UiSection[] 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

ANONYMOUS

public static final GrouperUiFilter.UiSection ANONYMOUS
doesnt require login yet


EXTERNAL

public static final GrouperUiFilter.UiSection EXTERNAL
doesnt require login yet


ADMIN_UI

public static final GrouperUiFilter.UiSection ADMIN_UI
normal admin ui


INVITE_EXTERNAL_SUBJECTS

public static final GrouperUiFilter.UiSection INVITE_EXTERNAL_SUBJECTS
simple membership update


SIMPLE_MEMBERSHIP_UPDATE

public static final GrouperUiFilter.UiSection SIMPLE_MEMBERSHIP_UPDATE
simple membership update


SIMPLE_ATTRIBUTE_UPDATE

public static final GrouperUiFilter.UiSection SIMPLE_ATTRIBUTE_UPDATE
simple membership update


SUBJECT_PICKER

public static final GrouperUiFilter.UiSection SUBJECT_PICKER
subject picker

Method Detail

values

public static GrouperUiFilter.UiSection[] 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 (GrouperUiFilter.UiSection c : GrouperUiFilter.UiSection.values())
    System.out.println(c);

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

valueOf

public static GrouperUiFilter.UiSection 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

isAnonymous

public boolean isAnonymous()
if anonymous or requires login

Returns:
anonymous

getUiSectionsThatAllowThisSection

public Set<GrouperUiFilter.UiSection> getUiSectionsThatAllowThisSection()
get sections that if allowed in there, you are allowed in here. includes "this"

Returns:
the sections

getMediaKey

public String getMediaKey()
getter for media key

Returns:
media key