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).
  • Method Details

    • 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