org.hibernate.search.query.facet
Interface FacetSelection
public interface FacetSelection
Groups a set of Facet
to be applied onto a query.
The facet criteria within a FacetSelection
are combined in a disjunction (logical OR).
- Author:
- Hardy Ferentschik
selectFacets
void selectFacets(Facet... facets)
- Parameters:
facets
- An array of facets which have to be applied as disjunction onto the current query
getSelectedFacets
List<Facet> getSelectedFacets()
- Returns:
- returns an unmodifiable list of the currently selected facets
deselectFacets
void deselectFacets(Facet... facets)
- Parameters:
facets
- An array of facets to e removed from the current facet. Facets which were not part of this
selection will be ignored.
clearSelectedFacets
void clearSelectedFacets()
- Clear all facets in this selection
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved