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 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
Modifier and TypeMethodDescriptionvoid
Executes the component.getId()
Get the identifier of the search componentMethods inherited from interface org.ametys.runtime.plugin.component.PluginAware
setPluginInfo
Methods 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 thesearch
andsetting 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 name
for 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
-