Class AbstractSkillSearchComponent
java.lang.Object
org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
- All Implemented Interfaces:
SearchComponent
- Direct Known Subclasses:
SaxSkillSearchComponent
,SkillSearchComponent
This
SearchComponent
add a join query on acquired skill's id if present-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
The parameter name for skill search fieldFields 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 TypeMethodDescriptionprotected String
_getSkillId
(Request request) Get the id of searched skill from the requestboolean
Returnstrue
if 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 Details
-
_SKILL_REQUEST_PARAM_NAME
The parameter name for skill search field- See Also:
-
-
Constructor Details
-
AbstractSkillSearchComponent
public AbstractSkillSearchComponent()
-
-
Method Details
-
supports
Description copied from interface:SearchComponent
Returnstrue
if the component must beexecuted
.- Specified by:
supports
in interfaceSearchComponent
- Parameters:
args
- the arguments- Returns:
true
if the component must beexecuted
.
-
_getSkillId
Get the id of searched skill from the request- Parameters:
request
- the request- Returns:
- the id of searched skill
-