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
FieldsModifier and TypeFieldDescriptionprotected ColumnHelperThe helper for columnsprotected ContentTypesHelperThe content types helperFields inherited from class org.ametys.cms.search.cocoon.SearchAction
_contentTypeExtensionPoint, _context, _getQueryFromJSONHelper, _searcherFactory, _searchModelHelper, _searchModelManager, _serverCommHelper, QUERY_ERROR, SEARCH_CONTENTS, SEARCH_LOCALE, SEARCH_MODEL, SEARCH_RESULTSFields 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 TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) voidservice(ServiceManager serviceManager) Methods inherited from class org.ametys.cms.search.cocoon.SearchAction
contextualize, doSearch, getMaxResults, getOffset, getSearchModel, getSortMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_contentTypesHelper
The content types helper -
_columnHelper
The helper for columns
-
-
Constructor Details
-
GetSolrSearchModelAction
public GetSolrSearchModelAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classSearchAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
actin interfaceAction- Overrides:
actin classSearchAction- Throws:
Exception
-