public class FacetManagerImpl extends Object implements FacetManager
FacetManager implementation.| Modifier and Type | Method and Description |
|---|---|
void |
disableFaceting(String facetingName)
Disable a facet with the given name.
|
FacetManager |
enableFaceting(FacetingRequest facetingRequest)
Enable a facet request.
|
FacetSelection |
getFacetGroup(String groupName)
Returns a instance of
FacetSelection instance in order to apply a disjunction of facet criteria on
the current query. |
List<Facet> |
getFacets(String facetingName)
Returns the
Facets for a given facet name |
public FacetManager enableFaceting(FacetingRequest facetingRequest)
FacetManagerenableFaceting in interface FacetManagerfacetingRequest - the faceting requestthis to allow method chainingpublic void disableFaceting(String facetingName)
FacetManagerdisableFaceting in interface FacetManagerfacetingName - the name of the facet to disable.public List<Facet> getFacets(String facetingName)
FacetManagerFacets for a given facet namegetFacets in interface FacetManagerfacetingName - the facet name for which to return the facet listFacetManager.enableFaceting(org.hibernate.search.query.facet.FacetingRequest)public FacetSelection getFacetGroup(String groupName)
FacetManagerFacetSelection instance in order to apply a disjunction of facet criteria on
the current query.getFacetGroup in interface FacetManagergroupName - the name the group. If the name is unknown an empty selection group is returned. null
is not allowed.FacetSelection for this group name if it exists., otherwise a new selection is created.Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved