Interface SearchComponent
- All Superinterfaces:
PluginAware,Prioritizable,Supporter<SearchComponentArguments>
- All Known Implementing Classes:
AbstractSearchComponent,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
extends Prioritizable, Supporter<SearchComponentArguments>, PluginAware
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
Modifier and TypeMethodDescriptionvoidExecutes the component.getId()Get the identifier of the search componentMethods inherited from interface org.ametys.runtime.plugin.component.PluginAware
setPluginInfoMethods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
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 definePrioritizable.getPriority()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
-
execute
Executes the component.- Parameters:
args- the arguments- Throws:
Exception- if an exception occurs. Other search components will be attempted to be executed
-
getId
Get the identifier of the search component- Returns:
- the identifier
-