Class SaxSkillSearchComponent
- java.lang.Object
 - 
- org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
 - 
- org.ametys.plugins.odfweb.service.search.SaxSkillSearchComponent
 
 
 
- 
- All Implemented Interfaces:
 SearchComponent,Serviceable
public class SaxSkillSearchComponent extends AbstractSkillSearchComponent implements Serviceable
ThisSearchComponentsax the skill search field 
- 
- 
Field Summary
Fields Modifier and Type Field Description private AmetysObjectResolver_resolver- 
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
Constructors Constructor Description SaxSkillSearchComponent() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(SearchComponentArguments args)Executes the component.intpriority()Get the priority of the component.voidservice(ServiceManager smanager)booleansupports(SearchComponentArguments args)Returnstrueif the component must beexecuted.- 
Methods inherited from class org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
_getSkillId 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_resolver
private AmetysObjectResolver _resolver
 
 - 
 
- 
Constructor Detail
- 
SaxSkillSearchComponent
public SaxSkillSearchComponent()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 
- 
priority
public int priority()
Description copied from interface:SearchComponentGet the priority of the component. The lowest one will be executed first, and so on.- Specified by:
 priorityin interfaceSearchComponent- Returns:
 - the priority of the component
 
 
- 
supports
public boolean supports(SearchComponentArguments args)
Description copied from interface:SearchComponentReturnstrueif the component must beexecuted.- Specified by:
 supportsin interfaceSearchComponent- Overrides:
 supportsin classAbstractSkillSearchComponent- Parameters:
 args- the arguments- Returns:
 trueif the component must beexecuted.
 
- 
execute
public void execute(SearchComponentArguments args) throws Exception
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
 
 - 
 
 -