Class AbstractSkillSearchComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.frontoffice.search.requesttime.AbstractSearchComponent
org.ametys.plugins.odfweb.service.search.AbstractSkillSearchComponent
- All Implemented Interfaces:
LogEnabled,PluginAware,Prioritizable,Supporter<SearchComponentArguments>,SearchComponent
- Direct Known Subclasses:
SaxSkillSearchComponent,SkillSearchComponent
This
SearchComponent add a join query on acquired skill's id if present-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String_getSkillId(Request request) Get the id of searched skill from the requestbooleanCheck 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, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriorityMethods inherited from interface org.ametys.web.frontoffice.search.requesttime.SearchComponent
execute
-
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:SupporterCheck if an element is supported- Parameters:
args- The element- Returns:
trueif the element is supported,falseotherwise
-
_getSkillId
Get the id of searched skill from the request- Parameters:
request- the request- Returns:
- the id of searched skill
-