Interface FacetManager
- All Known Implementing Classes:
FacetManagerImpl
public interface FacetManager
Interface defining methods around faceting.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisableFaceting(String facetingName) Disable a facet with the given name.enableFaceting(FacetingRequest facetingRequest) Enable a facet request.getFacetGroup(String groupName) Returns a instance ofFacetSelectioninstance in order to apply a disjunction of facet criteria on the current query.Returns theFacets for a given facet name
-
Method Details
-
enableFaceting
Enable a facet request.- Parameters:
facetingRequest- the faceting request- Returns:
thisto allow method chaining
-
disableFaceting
Disable a facet with the given name.- Parameters:
facetingName- the name of the facet to disable.
-
getFacets
Returns theFacets for a given facet name- Parameters:
facetingName- the facet name for which to return the facet list- Returns:
- the facet result list which corresponds to the facet request with the given name. The empty list is returned for an unknown facet name.
- See Also:
-
getFacetGroup
Returns a instance ofFacetSelectioninstance in order to apply a disjunction of facet criteria on the current query.- Parameters:
groupName- the name the group. If the name is unknown an empty selection group is returned.nullis not allowed.- Returns:
- the
FacetSelectionfor this group name if it exists., otherwise a new selection is created.
-