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
Modifier and TypeClassDescriptionstatic class
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
ConstructorDescriptionCmsSearchConfigurationFacetQuery
(List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem> queries, String label, Boolean isAndFacet, List<String> preselection, Boolean ignoreFiltersFromAllFacets, Collection<String> excludeTags) Constructor for the range facet configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
CmsSearchConfigurationFacetQuery
public CmsSearchConfigurationFacetQuery(List<I_CmsSearchConfigurationFacetQuery.I_CmsFacetQueryItem> queries, String label, Boolean isAndFacet, List<String> preselection, Boolean ignoreFiltersFromAllFacets, Collection<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 Details
-
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:
-