public class GetSolrQueryAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected GetQueryFromJSONHelper |
_getQueryFromJSONHelper
the helper to get query infos from JSON
|
protected ServerCommHelper |
_serverCommHelper
The server comm helper
|
manager
EMPTY_MAP
Constructor and Description |
---|
GetSolrQueryAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
protected void |
setFacets(Map<String,Object> queryResults,
Collection<SearchUICriterion> facetedCriteria)
Set the facet list into the query results.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected ServerCommHelper _serverCommHelper
protected GetQueryFromJSONHelper _getQueryFromJSONHelper
public GetSolrQueryAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected void setFacets(Map<String,Object> queryResults, Collection<SearchUICriterion> facetedCriteria)
queryResults
- the query results.facetedCriteria
- the facets to put in the results.