|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.search.query.engine.impl.FacetManagerImpl
public class FacetManagerImpl
Default implementation of the FacetManager
implementation.
Method Summary | |
---|---|
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 Facet s for a given facet name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public FacetManager enableFaceting(FacetingRequest facetingRequest)
FacetManager
enableFaceting
in interface FacetManager
facetingRequest
- the faceting request
this
to allow method chainingpublic void disableFaceting(String facetingName)
FacetManager
disableFaceting
in interface FacetManager
facetingName
- the name of the facet to disable.public List<Facet> getFacets(String facetingName)
FacetManager
Facet
s for a given facet name
getFacets
in interface FacetManager
facetingName
- the facet name for which to return the facet list
FacetManager.enableFaceting(org.hibernate.search.query.facet.FacetingRequest)
public FacetSelection getFacetGroup(String groupName)
FacetManager
FacetSelection
instance in order to apply a disjunction of facet criteria on
the current query.
getFacetGroup
in interface FacetManager
groupName
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |