Package org.ametys.cms.search.solr
Class GetSolrSearchModelAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.cms.search.cocoon.SearchAction
org.ametys.cms.search.solr.GetSolrSearchModelAction
- All Implemented Interfaces:
Component
,Contextualizable
,LogEnabled
,Serviceable
,Action
Create a dynamic model with the given columns and facets and return the model columns if valid.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ColumnHelper
The helper for columnsprotected ContentTypesHelper
The content types helper.protected SearchUIModelHelper
The search model helper.Fields inherited from class org.ametys.cms.search.cocoon.SearchAction
_contentTypeExtensionPoint, _context, _getQueryFromJSONHelper, _queryBuilder, _searcherFactory, _searchModelManager, _serverCommHelper, QUERY_ERROR, SEARCH_CONTENTS, SEARCH_LOCALE, SEARCH_MODEL, SEARCH_RESULTS
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager serviceManager) Methods inherited from class org.ametys.cms.search.cocoon.SearchAction
contextualize, doSearch, getMaxResults, getOffset, getSearchUIModel, getSort
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_contentTypesHelper
The content types helper. -
_searchModelHelper
The search model helper. -
_columnHelper
The helper for columns
-
-
Constructor Details
-
GetSolrSearchModelAction
public GetSolrSearchModelAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classSearchAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
act
in interfaceAction
- Overrides:
act
in classSearchAction
- Throws:
Exception
-