Class AbstractSkillSearchComponent
- java.lang.Object
 - 
- org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
 
 
- 
- All Implemented Interfaces:
 SearchComponent
- Direct Known Subclasses:
 SaxSkillSearchComponent,SkillSearchComponent
public abstract class AbstractSkillSearchComponent extends Object implements SearchComponent
ThisSearchComponentadd a join query on acquired skill's id if present 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static String_SKILL_REQUEST_PARAM_NAMEThe parameter name for skill search field- 
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 AbstractSkillSearchComponent() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean_containsProgramReturnable(SearchServiceInstance serviceInstance)protected String_getSkillId(Request request)Get the id of searched skill from the requestbooleansupports(SearchComponentArguments args)Returnstrueif the component must beexecuted.- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.ametys.web.frontoffice.search.requesttime.SearchComponent
execute, priority 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_SKILL_REQUEST_PARAM_NAME
protected static final String _SKILL_REQUEST_PARAM_NAME
The parameter name for skill search field- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
AbstractSkillSearchComponent
public AbstractSkillSearchComponent()
 
 - 
 
- 
Method Detail
- 
supports
public boolean supports(SearchComponentArguments args)
Description copied from interface:SearchComponentReturnstrueif the component must beexecuted.- Specified by:
 supportsin interfaceSearchComponent- Parameters:
 args- the arguments- Returns:
 trueif the component must beexecuted.
 
- 
_containsProgramReturnable
private boolean _containsProgramReturnable(SearchServiceInstance serviceInstance)
 
- 
_getSkillId
protected String _getSkillId(Request request)
Get the id of searched skill from the request- Parameters:
 request- the request- Returns:
 - the id of searched skill
 
 
 - 
 
 -