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.


Method Summary
 List<Bucket> getBuckets()
          Returns the buckets for this facet.
 boolean getContainsHit()
           
 

Method Detail

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.