public class GetSolrQueryAction extends ServiceableAction implements Contextualizable
| Modifier and Type | Field and Description |
|---|---|
protected ContentTypeExtensionPoint |
_contentTypeExtensionPoint
The ContentType Manager
|
protected Context |
_context
The avalon context
|
protected QueryBuilder |
_queryBuilder
The query builder.
|
protected SearchUIModelExtensionPoint |
_searchModelManager
The search model manager
|
protected ServerCommHelper |
_serverCommHelper
The server comm helper
|
managerEMPTY_MAP| Constructor and Description |
|---|
GetSolrQueryAction() |
| Modifier and Type | Method and Description |
|---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
contextualize(Context context) |
void |
service(ServiceManager smanager) |
protected void |
setColumns(Map<String,Object> queryResults,
Collection<SearchUIColumn> columns)
Set the column list into the query results.
|
protected void |
setFacets(Map<String,Object> queryResults,
Collection<SearchUICriterion> facetedCriteria)
Set the facet list into the query results.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected SearchUIModelExtensionPoint _searchModelManager
protected ContentTypeExtensionPoint _contentTypeExtensionPoint
protected ServerCommHelper _serverCommHelper
protected QueryBuilder _queryBuilder
public GetSolrQueryAction()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
protected void setFacets(Map<String,Object> queryResults, Collection<SearchUICriterion> facetedCriteria)
queryResults - the query results.facetedCriteria - the facets to put in the results.protected void setColumns(Map<String,Object> queryResults, Collection<SearchUIColumn> columns)
queryResults - the query results.columns - the columns to put in the results.