Class DegreeUniversitySearchComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.frontoffice.search.requesttime.AbstractSearchComponent
org.ametys.plugins.odfweb.service.search.DegreeUniversitySearchComponent
- All Implemented Interfaces:
LogEnabled,PluginAware,Prioritizable,Supporter<SearchComponentArguments>,SearchComponent,Serviceable
SearchComponent for handle degree university inputs-
Field Summary
FieldsFields inherited from interface org.ametys.web.frontoffice.search.requesttime.SearchComponent
DISABLE_DEFAULT_SAX_PARAMETER_NAME, MAX_PRIORITY, MIN_PRIORITY, SEARCH_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the component.intGet the priority for the component.voidservice(ServiceManager manager) booleanCheck if an element is supportedMethods inherited from class org.ametys.web.frontoffice.search.requesttime.AbstractSearchComponent
getId, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_degreeUniversityHelper
The degree university helper
-
-
Constructor Details
-
DegreeUniversitySearchComponent
public DegreeUniversitySearchComponent()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getPriority
Description copied from interface:PrioritizableGet the priority for the component. On components usingPrioritizableinterface, each implementation define the order. In most cases, less is the number, more prior is the component.- Specified by:
getPriorityin interfacePrioritizable- Returns:
- the priority
-
supports
Description copied from interface:SupporterCheck if an element is supported- Specified by:
supportsin interfaceSupporter<SearchComponentArguments>- Parameters:
args- The element- Returns:
trueif the element is supported,falseotherwise
-
execute
Description copied from interface:SearchComponentExecutes the component.- Specified by:
executein interfaceSearchComponent- Parameters:
args- the arguments- Throws:
Exception- if an exception occurs. Other search components will be attempted to be executed
-