Interface SearchComponent
- All Known Implementing Classes:
AbstractSkillSearchComponent
,CalendarSaxFormSearchComponent
,CalendarSaxGeneralDataSearchComponent
,CalendarSearchComponent
,CheckRightSearchComponent
,CriterionTreeSearchComponent
,DateRangeCriterionSearchComponent
,DebugSearchComponent
,DegreeUniversitySearchComponent
,FacetSearchComponent
,MatchingSubprogramSearchComponent
,PaginationSearchComponent
,ReturnableSearchComponent
,RssSearchComponent
,SaveUserPrefsSearchComponent
,SaveUserPrefsSearchComponent
,SaxDegreeUniversityEnumeratedCriteriaComponent
,SaxEnumeratedCriteriaComponent
,SaxFormSearchComponent
,SaxGeneralDataSearchComponent
,SaxResultsSearchComponent
,SaxSkillSearchComponent
,SetResultsSearchComponent
,SkillSearchComponent
,SortSearchComponent
,TagFacetSearchComponent
,WorkspaceSwitcherSearchComponent
public interface SearchComponent
A component which will execute a part of a FO search through
SearchServiceGenerator
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Agenerator parameter name
for disabling default sax and use a custom search component insteadstatic final int
Maximum prioritystatic final int
Minimum prioritystatic final int
Priority of the component executing thesearch
andsetting the results
. -
Method Summary
-
Field Details
-
MIN_PRIORITY
Minimum priority- See Also:
-
SEARCH_PRIORITY
Priority of the component executing thesearch
andsetting the results
.
Thus, this constant can be used to definepriority()
method whether the component must execute before or after the search.- See Also:
-
MAX_PRIORITY
Maximum priority- See Also:
-
DISABLE_DEFAULT_SAX_PARAMETER_NAME
Agenerator parameter name
for disabling default sax and use a custom search component instead- See Also:
-
-
Method Details
-
priority
int priority()Get the priority of the component. The lowest one will be executed first, and so on.- Returns:
- the priority of the component
-
supports
Returnstrue
if the component must beexecuted
.- Parameters:
args
- the arguments- Returns:
true
if the component must beexecuted
.
-
execute
Executes the component.- Parameters:
args
- the arguments- Throws:
Exception
- if an exception occurs. Other search components will be attempted to be executed
-