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
public class GetSolrSearchModelAction extends SearchAction
Create a dynamic model with the given columns and facets and return the model columns if valid.
-
-
Field Summary
Fields Modifier and Type Field Description protected ColumnHelper
_columnHelper
The helper for columnsprotected ContentTypesHelper
_contentTypesHelper
The content types helper.protected SearchUIModelHelper
_searchModelHelper
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
Constructors Constructor Description GetSolrSearchModelAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(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 Detail
-
_contentTypesHelper
protected ContentTypesHelper _contentTypesHelper
The content types helper.
-
_searchModelHelper
protected SearchUIModelHelper _searchModelHelper
The search model helper.
-
_columnHelper
protected ColumnHelper _columnHelper
The helper for columns
-
-
Constructor Detail
-
GetSolrSearchModelAction
public GetSolrSearchModelAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- 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
-
-