public interface FacetSelection
Facet
to be applied onto a query.
The facet criteria within a FacetSelection
are combined in a disjunction (logical OR).Modifier and Type | Method and Description |
---|---|
void |
clearSelectedFacets()
Clear all facets in this selection
|
void |
deselectFacets(Facet... facets) |
BooleanClause.Occur |
getOccurType() |
List<Facet> |
getSelectedFacets() |
void |
selectFacets(Facet... facets) |
void |
selectFacets(FacetCombine combineBy,
Facet... facets) |
void selectFacets(Facet... facets)
facets
- An array of facets which have to be applied as disjunction onto the current query. Facets are combined
via FacetCombine.OR
.void selectFacets(FacetCombine combineBy, Facet... facets)
combineBy
- enum value defining how the different facet should be combined when building a boolean query which
gets applied onto the current queryfacets
- An array of facets which have to be applied as disjunction onto the current queryList<Facet> getSelectedFacets()
BooleanClause.Occur getOccurType()
void deselectFacets(Facet... facets)
facets
- An array of facets to e removed from the current facet. Facets which were not part of this
selection will be ignored.void clearSelectedFacets()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved