Class SaxSkillSearchComponent
java.lang.Object
org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
org.ametys.plugins.odfweb.service.search.SaxSkillSearchComponent
- All Implemented Interfaces:
SearchComponent
,Serviceable
This
SearchComponent
sax the skill search field-
Field Summary
Fields inherited from class org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
_SKILL_REQUEST_PARAM_NAME
Fields inherited from interface org.ametys.web.frontoffice.search.requesttime.SearchComponent
DISABLE_DEFAULT_SAX_PARAMETER_NAME, MAX_PRIORITY, MIN_PRIORITY, SEARCH_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes the component.int
priority()
Get the priority of the component.void
service
(ServiceManager smanager) boolean
Returnstrue
if the component must beexecuted
.Methods inherited from class org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
_getSkillId
-
Constructor Details
-
SaxSkillSearchComponent
public SaxSkillSearchComponent()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
priority
Description copied from interface:SearchComponent
Get the priority of the component. The lowest one will be executed first, and so on.- Specified by:
priority
in interfaceSearchComponent
- Returns:
- the priority of the component
-
supports
Description copied from interface:SearchComponent
Returnstrue
if the component must beexecuted
.- Specified by:
supports
in interfaceSearchComponent
- Overrides:
supports
in classAbstractSkillSearchComponent
- Parameters:
args
- the arguments- Returns:
true
if the component must beexecuted
.
-
execute
Description copied from interface:SearchComponent
Executes the component.- Specified by:
execute
in interfaceSearchComponent
- Parameters:
args
- the arguments- Throws:
Exception
- if an exception occurs. Other search components will be attempted to be executed
-