Package org.ametys.cms.search.solr
Class SolrQuerySearchAction.SearchValues
- java.lang.Object
-
- org.ametys.cms.search.solr.SolrQuerySearchAction.SearchValues
-
- Enclosing class:
- SolrQuerySearchAction
protected class SolrQuerySearchAction.SearchValues extends Object
Object representing search values.
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
_baseContentTypeIds
The base content types (common content types)protected String
_baseQuery
The base queryprotected Collection<ColumnHelper.Column>
_columns
The columnsprotected Set<String>
_contentTypeIds
The content typesprotected Collection<String>
_facets
The facet fieldsprotected Map<String,List<String>>
_facetValues
The facet valuesprotected String
_groupInfo
The groupsprotected Map<String,Object>
_jsParameters
The JS parametersprotected String
_sortInfo
The sortsprotected Map<String,Object>
_values
The values from JS parametersprotected Set<Integer>
_wfSteps
The workflow steps
-
Constructor Summary
Constructors Modifier Constructor Description protected
SearchValues(Map<String,Object> jsParameters)
Constructor to build the object from JS parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>
getBaseContentTypes()
Get the base content types (extract from content types, it's the common ancestors).protected String
getBaseQuery()
Get the base query.protected Collection<ColumnHelper.Column>
getColumns()
Get the columns.protected Set<String>
getContentTypes()
Get the content types.protected Collection<String>
getFacets()
Get the facet fields.protected Map<String,List<String>>
getFacetValues()
Get the facet values.protected String
getGroupInfo()
Get the group info.protected String
getSortInfo()
Get the sort info.protected Map<String,Object>
getValues()
Get the values from the JS parameters.protected Set<Integer>
getWorkflowSteps()
Get the workflow steps.
-
-
-
Field Detail
-
_jsParameters
protected Map<String,Object> _jsParameters
The JS parameters
-
_baseQuery
protected String _baseQuery
The base query
-
_contentTypeIds
protected Set<String> _contentTypeIds
The content types
-
_baseContentTypeIds
protected Set<String> _baseContentTypeIds
The base content types (common content types)
-
_facets
protected Collection<String> _facets
The facet fields
-
_facetValues
protected Map<String,List<String>> _facetValues
The facet values
-
_columns
protected Collection<ColumnHelper.Column> _columns
The columns
-
_groupInfo
protected String _groupInfo
The groups
-
-
Constructor Detail
-
SearchValues
protected SearchValues(Map<String,Object> jsParameters)
Constructor to build the object from JS parameters.- Parameters:
jsParameters
- The JS parameters
-
-
Method Detail
-
getBaseQuery
protected String getBaseQuery()
Get the base query.- Returns:
- the base query
-
getColumns
protected Collection<ColumnHelper.Column> getColumns()
Get the columns.- Returns:
- the columns
-
getBaseContentTypes
protected Set<String> getBaseContentTypes()
Get the base content types (extract from content types, it's the common ancestors).- Returns:
- the base content types
-
getContentTypes
protected Set<String> getContentTypes()
Get the content types.- Returns:
- the content types
-
getWorkflowSteps
protected Set<Integer> getWorkflowSteps()
Get the workflow steps.- Returns:
- the workflow steps
-
getSortInfo
protected String getSortInfo()
Get the sort info.- Returns:
- the sort info
-
getGroupInfo
protected String getGroupInfo()
Get the group info.- Returns:
- the group info
-
getFacets
protected Collection<String> getFacets()
Get the facet fields.- Returns:
- the facet fields
-
getFacetValues
protected Map<String,List<String>> getFacetValues()
Get the facet values.- Returns:
- the facet values
-
-