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
FieldsModifier and TypeFieldDescriptionstatic final StringAgenerator parameter namefor disabling default sax and use a custom search component insteadstatic final intMaximum prioritystatic final intMinimum prioritystatic final intPriority of the component executing thesearchandsetting the results. -
Method Summary
-
Field Details
-
MIN_PRIORITY
Minimum priority- See Also:
-
SEARCH_PRIORITY
Priority of the component executing thesearchandsetting 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 namefor 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
Returnstrueif the component must beexecuted.- Parameters:
args- the arguments- Returns:
trueif 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
-