Package org.ametys.cms.search.solr
Class SolrQuerySearchAction.SearchValues
java.lang.Object
org.ametys.cms.search.solr.SolrQuerySearchAction.SearchValues
- Enclosing class:
 - SolrQuerySearchAction
 
Object representing search values.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionThe base content types (common content types)protected StringThe base queryprotected Collection<ColumnHelper.Column>The columnsThe content typesprotected Collection<String>The facet fieldsThe facet valuesprotected StringThe groupsThe JS parametersprotected StringThe sortsThe values from JS parametersThe workflow steps - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSearchValues(Map<String, Object> jsParameters) Constructor to build the object from JS parameters. - 
Method Summary
Modifier and TypeMethodDescriptionGet the base content types (extract from content types, it's the common ancestors).protected StringGet the base query.protected Collection<ColumnHelper.Column>Get the columns.Get the content types.protected Collection<String>Get the facet fields.Get the facet values.protected StringGet the group info.protected StringGet the sort info.Get the values from the JS parameters.Get the workflow steps. 
- 
Field Details
- 
_jsParameters
The JS parameters - 
_values
The values from JS parameters - 
_baseQuery
The base query - 
_contentTypeIds
The content types - 
_baseContentTypeIds
The base content types (common content types) - 
_facets
The facet fields - 
_facetValues
The facet values - 
_columns
The columns - 
_sortInfo
The sorts - 
_groupInfo
The groups - 
_wfSteps
The workflow steps 
 - 
 - 
Constructor Details
- 
SearchValues
Constructor to build the object from JS parameters.- Parameters:
 jsParameters- The JS parameters
 
 - 
 - 
Method Details
- 
getBaseQuery
Get the base query.- Returns:
 - the base query
 
 - 
getColumns
Get the columns.- Returns:
 - the columns
 
 - 
getBaseContentTypes
Get the base content types (extract from content types, it's the common ancestors).- Returns:
 - the base content types
 
 - 
getContentTypes
Get the content types.- Returns:
 - the content types
 
 - 
getWorkflowSteps
Get the workflow steps.- Returns:
 - the workflow steps
 
 - 
getSortInfo
Get the sort info.- Returns:
 - the sort info
 
 - 
getGroupInfo
Get the group info.- Returns:
 - the group info
 
 - 
getFacets
Get the facet fields.- Returns:
 - the facet fields
 
 - 
getFacetValues
Get the facet values.- Returns:
 - the facet values
 
 - 
getValues
Get the values from the JS parameters.- Returns:
 - the values
 
 
 -