Package org.ametys.plugins.ai.rest
Class GetSolrSearchAction
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.GetSolrSearchAction
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
The Search Web Service
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmetysObjectResolverThe Ametys object resolverprotected ContentSearcherFactoryThe searcher componentprotected ContentTypesHelperThe content types helperprotected RenderingContextHandlerThe rendering context handlerprotected SearchModelHelperThe search model helperprotected URIResolverExtensionPointThe URI resolver extension pointFields 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
Modifier and TypeMethodDescriptionprotected MapActual operationvoidservice(ServiceManager serviceManager) 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
-
_ametysObjectResolver
The Ametys object resolver -
_contentSearcherFactory
The searcher component -
_contentTypesHelper
The content types helper -
_renderingContextHandler
The rendering context handler -
_searchModelHelper
The search model helper -
_uriResolverEP
The URI resolver extension point
-
-
Constructor Details
-
GetSolrSearchAction
public GetSolrSearchAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractSearchAction- Throws:
ServiceException
-
doAct
protected 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
-