Package org.opencms.jsp.search.config
Class CmsSearchConfigurationFacetQuery
- java.lang.Object
-
- org.opencms.jsp.search.config.CmsSearchConfigurationFacet
-
- org.opencms.jsp.search.config.CmsSearchConfigurationFacetQuery
-
- All Implemented Interfaces:
I_CmsSearchConfigurationFacet
,I_CmsSearchConfigurationFacetQuery
public class CmsSearchConfigurationFacetQuery extends CmsSearchConfigurationFacet implements I_CmsSearchConfigurationFacetQuery
Configuration for the query facet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsSearchConfigurationFacetQuery.CmsFacetQueryItem
Representation of one query facet item.-
Nested classes/interfaces inherited from interface org.opencms.jsp.search.config.I_CmsSearchConfigurationFacet
I_CmsSearchConfigurationFacet.SortOrder
-
Nested classes/interfaces inherited from interface org.opencms.jsp.search.config.I_CmsSearchConfigurationFacetQuery
I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem
-
-
Field Summary
-
Fields inherited from class org.opencms.jsp.search.config.CmsSearchConfigurationFacet
m_explicitExcludeTags, m_ignoreFacetFilters, m_ignoreTags, m_isAndFacet, m_label, m_minCount, m_name, m_preselection
-
Fields inherited from interface org.opencms.jsp.search.config.I_CmsSearchConfigurationFacetQuery
NAME
-
-
Constructor Summary
Constructors Constructor Description CmsSearchConfigurationFacetQuery(java.util.List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem> queries, java.lang.String label, java.lang.Boolean isAndFacet, java.util.List<java.lang.String> preselection, java.lang.Boolean ignoreFiltersFromAllFacets, java.util.Collection<java.lang.String> excludeTags)
Constructor for the range facet configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem>
getQueryList()
Returns the list of queries that belong to the facet.-
Methods inherited from class org.opencms.jsp.search.config.CmsSearchConfigurationFacet
getIgnoreAllFacetFilters, getIgnoreMaxParamKey, getIgnoreTags, getIsAndFacet, getLabel, getMinCount, getName, getParamKey, getPreSelection, propagateAllFacetNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencms.jsp.search.config.I_CmsSearchConfigurationFacet
getIgnoreAllFacetFilters, getIgnoreMaxParamKey, getIgnoreTags, getIsAndFacet, getLabel, getMinCount, getName, getParamKey, getPreSelection, propagateAllFacetNames
-
-
-
-
Constructor Detail
-
CmsSearchConfigurationFacetQuery
public CmsSearchConfigurationFacetQuery(java.util.List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem> queries, java.lang.String label, java.lang.Boolean isAndFacet, java.util.List<java.lang.String> preselection, java.lang.Boolean ignoreFiltersFromAllFacets, java.util.Collection<java.lang.String> excludeTags)
Constructor for the range facet configuration.- Parameters:
queries
- the queries that can be selected for the facetlabel
- the label used to display the facetisAndFacet
- true if checked facet entries should all be matched, otherwise only one checked entry must matchpreselection
- list of entries that should be checked in advanceignoreFiltersFromAllFacets
- A flag, indicating if filters from all facets should be ignored or not.excludeTags
- The tags (keys) of (filter) queries to be not taken into account for the facet. If "ignoreFiltersFromFacets" is true, the according tags for facets and queries will be added.
-
-
Method Detail
-
getQueryList
public java.util.List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem> getQueryList()
Description copied from interface:I_CmsSearchConfigurationFacetQuery
Returns the list of queries that belong to the facet.- Specified by:
getQueryList
in interfaceI_CmsSearchConfigurationFacetQuery
- Returns:
- The list of queries that belong to the facet.
- See Also:
I_CmsSearchConfigurationFacetQuery.getQueryList()
-
-