com.day.cq.search.facets
Interface Facet
- All Known Implementing Classes:
- FacetImpl
public interface Facet
Facet represents a single category that splits up a search
result into multiple buckets.
getBuckets
List<Bucket> getBuckets()
throws RepositoryException
- Returns the buckets for this facet.
- Returns:
- the buckets for this facet.
- Throws:
RepositoryException - if an error occurs while reading from the repository.
getContainsHit
boolean getContainsHit()
throws RepositoryException
- Returns:
true if any of the buckets contains a hit,
false otherwise.
- Throws:
RepositoryException - if an error occurs while reading from the
repository.
Copyright © 2009 Day Management AG. All Rights Reserved.