Enum Class NameSearchField
- All Implemented Interfaces:
Serializable
,Comparable<NameSearchField>
,Constable
User fields that can be searched when finding users by name.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLook for occurrences of the search substring in the user's e-mail address.Look for occurrences of the search substring in the user's first name.Look for occurrences of the search substring in the concatenation of the user's first name and last name.Look for occurrences of the search substring in the user's last name.Look for occurrences of the search substring in the concatenation of the user's last name and first name.Look for occurrences of the search substring in the user's username. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.column names as string should not be permittedstatic NameSearchField
Returns the enum constant of this class with the specified name.static NameSearchField[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USERNAME
Look for occurrences of the search substring in the user's username. -
FIRSTNAME
Look for occurrences of the search substring in the user's first name. -
LASTNAME
Look for occurrences of the search substring in the user's last name. -
LASTNAME_FIRSTNAME
Look for occurrences of the search substring in the concatenation of the user's last name and first name. -
FIRSTNAME_LASTNAME
Look for occurrences of the search substring in the concatenation of the user's first name and last name. -
EMAIL
Look for occurrences of the search substring in the user's e-mail address.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getSortColumnName
Deprecated.column names as string should not be permitted
-