Package org.cyclos.impl.users
Enum ProfileFieldSearchContext
- java.lang.Object
-
- java.lang.Enum<ProfileFieldSearchContext>
-
- org.cyclos.impl.users.ProfileFieldSearchContext
-
- All Implemented Interfaces:
Serializable,Comparable<ProfileFieldSearchContext>
public enum ProfileFieldSearchContext extends Enum<ProfileFieldSearchContext>
Contains the possible contexts a profile field can be used on searches
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_FILTERFilter in the advertisements searchAD_KEYWORDSKeywords in the advertisements searchMAP_DIRECTORY_FILTERFilter in the user map directoryMAP_DIRECTORY_KEYWORDSKeywords in the user map directoryRECORD_FILTERFilter in the records searchRECORD_KEYWORDSKeywords in the records searchUSER_FILTERFilter in the users searchUSER_KEYWORDSKeywords in the users search
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileFieldSearchContextvalueOf(String name)Returns the enum constant of this type with the specified name.static ProfileFieldSearchContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_FILTER
public static final ProfileFieldSearchContext USER_FILTER
Filter in the users search
-
MAP_DIRECTORY_FILTER
public static final ProfileFieldSearchContext MAP_DIRECTORY_FILTER
Filter in the user map directory
-
MAP_DIRECTORY_KEYWORDS
public static final ProfileFieldSearchContext MAP_DIRECTORY_KEYWORDS
Keywords in the user map directory
-
USER_KEYWORDS
public static final ProfileFieldSearchContext USER_KEYWORDS
Keywords in the users search
-
AD_FILTER
public static final ProfileFieldSearchContext AD_FILTER
Filter in the advertisements search
-
AD_KEYWORDS
public static final ProfileFieldSearchContext AD_KEYWORDS
Keywords in the advertisements search
-
RECORD_FILTER
public static final ProfileFieldSearchContext RECORD_FILTER
Filter in the records search
-
RECORD_KEYWORDS
public static final ProfileFieldSearchContext RECORD_KEYWORDS
Keywords in the records search
-
-
Method Detail
-
values
public static ProfileFieldSearchContext[] 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 (ProfileFieldSearchContext c : ProfileFieldSearchContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileFieldSearchContext 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
-
-