Package org.cyclos.model.users.users
Enum UserSearchContext
- java.lang.Object
-
- java.lang.Enum<UserSearchContext>
-
- org.cyclos.model.users.users.UserSearchContext
-
- All Implemented Interfaces:
Serializable,Comparable<UserSearchContext>
public enum UserSearchContext extends Enum<UserSearchContext>
Represents the possible contexts where a user can be searched
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROKEREDBULK_ACTIONCONTACTSMAP_DIRECTORYMENUPENDINGREGULAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowFilterByGroup()static UserSearchContextvalueOf(String name)Returns the enum constant of this type with the specified name.static UserSearchContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final UserSearchContext REGULAR
-
PENDING
public static final UserSearchContext PENDING
-
CONTACTS
public static final UserSearchContext CONTACTS
-
BROKERED
public static final UserSearchContext BROKERED
-
MAP_DIRECTORY
public static final UserSearchContext MAP_DIRECTORY
-
BULK_ACTION
public static final UserSearchContext BULK_ACTION
-
MENU
public static final UserSearchContext MENU
-
-
Method Detail
-
values
public static UserSearchContext[] 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 (UserSearchContext c : UserSearchContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserSearchContext 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 nameNullPointerException- if the argument is null
-
allowFilterByGroup
public boolean allowFilterByGroup()
-
-