Enum SearchQuestion.SearchQuestionType
- java.lang.Object
-
- java.lang.Enum<SearchQuestion.SearchQuestionType>
-
- com.funnelback.publicui.search.model.transaction.SearchQuestion.SearchQuestionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchQuestion.SearchQuestionType>
- Enclosing class:
- SearchQuestion
public static enum SearchQuestion.SearchQuestionType extends Enum<SearchQuestion.SearchQuestionType>
Enum for identifying special types of search requests requiring special processing
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESSIBILITY_AUDITOR
ACCESSIBILITY_AUDITOR_ACKNOWLEDGEMENT_COUNTS
ACCESSIBILITY_AUDITOR_GET_ALL_RESULTS
CONTENT_AUDITOR
CONTENT_AUDITOR_DUPLICATES
EXTRA_SEARCH
FACETED_NAVIGATION_EXTRA_SEARCH
These extra searches are created for use in faceted navigation.SEARCH
SEARCH_GET_ALL_RESULTS
-
Field Summary
Fields Modifier and Type Field Description private boolean
extraSearch
Is the search type an extra search one
-
Constructor Summary
Constructors Modifier Constructor Description private
SearchQuestionType(boolean extraSearch)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExtraSearch()
static SearchQuestion.SearchQuestionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchQuestion.SearchQuestionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEARCH
public static final SearchQuestion.SearchQuestionType SEARCH
-
SEARCH_GET_ALL_RESULTS
public static final SearchQuestion.SearchQuestionType SEARCH_GET_ALL_RESULTS
-
EXTRA_SEARCH
public static final SearchQuestion.SearchQuestionType EXTRA_SEARCH
-
CONTENT_AUDITOR
public static final SearchQuestion.SearchQuestionType CONTENT_AUDITOR
-
CONTENT_AUDITOR_DUPLICATES
public static final SearchQuestion.SearchQuestionType CONTENT_AUDITOR_DUPLICATES
-
ACCESSIBILITY_AUDITOR
public static final SearchQuestion.SearchQuestionType ACCESSIBILITY_AUDITOR
-
ACCESSIBILITY_AUDITOR_ACKNOWLEDGEMENT_COUNTS
public static final SearchQuestion.SearchQuestionType ACCESSIBILITY_AUDITOR_ACKNOWLEDGEMENT_COUNTS
-
ACCESSIBILITY_AUDITOR_GET_ALL_RESULTS
public static final SearchQuestion.SearchQuestionType ACCESSIBILITY_AUDITOR_GET_ALL_RESULTS
-
FACETED_NAVIGATION_EXTRA_SEARCH
public static final SearchQuestion.SearchQuestionType FACETED_NAVIGATION_EXTRA_SEARCH
These extra searches are created for use in faceted navigation.Hooks should ensure that these searches are updated with any changes that will manipulate the scope of the search. Hooks should avoid setting options which manipulate other query settings as it may reduce performance.
-
-
Method Detail
-
values
public static SearchQuestion.SearchQuestionType[] 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 (SearchQuestion.SearchQuestionType c : SearchQuestion.SearchQuestionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchQuestion.SearchQuestionType 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
-
isExtraSearch
public boolean isExtraSearch()
-
-