Package org.ametys.plugins.ai.rest
Class GetSearchModelConfigurationAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.ai.rest.AbstractSearchAction
org.ametys.plugins.ai.rest.GetSearchModelConfigurationAction
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
The Search Web Service to get configuration with enums values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentSearcherFactoryThe content searcher factoryprotected AmetysObjectResolverThe Ametys object resolverFields inherited from class org.ametys.plugins.ai.rest.AbstractSearchAction
_localeHelper, _searchModelEPFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.plugins.ai.rest.AbstractSearchAction
_canBeFlattened, _elementToJson, act, getCriteriaMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_contentSearcherFactory
The content searcher factory -
_resolver
The Ametys object resolver
-
-
Constructor Details
-
GetSearchModelConfigurationAction
public GetSearchModelConfigurationAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractSearchAction- Throws:
ServiceException
-
doAct
public Map doAct(Request request, SearchUIModel searchModel, Map<String, Object> contextualParameters) throws ExceptionDescription copied from class:AbstractSearchActionActual operation- Specified by:
doActin classAbstractSearchAction- Parameters:
request- the requestsearchModel- the requested search modelcontextualParameters- a map of contextual parameters- Returns:
- the action result
- Throws:
Exception- if an error occurs
-