Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.search.facet
Class BaseFacet

java.lang.Object
  extended by com.liferay.portal.kernel.search.facet.BaseFacet
All Implemented Interfaces:
Facet
Direct Known Subclasses:
MultiValueFacet, RangeFacet, SimpleFacet

public abstract class BaseFacet
extends Object
implements Facet


Constructor Summary
BaseFacet(SearchContext searchContext)
           
 
Method Summary
protected abstract  BooleanClause doGetFacetClause()
           
 BooleanClause getFacetClause()
           
 FacetCollector getFacetCollector()
           
 FacetConfiguration getFacetConfiguration()
           
 FacetValueValidator getFacetValueValidator()
           
 String getFieldName()
           
 SearchContext getSearchContext()
           
 boolean isStatic()
           
 void setFacetCollector(FacetCollector facetCollector)
           
 void setFacetConfiguration(FacetConfiguration facetConfiguration)
           
 void setFacetValueValidator(FacetValueValidator facetValueValidator)
           
 void setFieldName(String fieldName)
           
 void setStatic(boolean isStatic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFacet

public BaseFacet(SearchContext searchContext)
Method Detail

getFacetClause

public BooleanClause getFacetClause()
Specified by:
getFacetClause in interface Facet

getFacetCollector

public FacetCollector getFacetCollector()
Specified by:
getFacetCollector in interface Facet

getFacetConfiguration

public FacetConfiguration getFacetConfiguration()
Specified by:
getFacetConfiguration in interface Facet

getFacetValueValidator

public FacetValueValidator getFacetValueValidator()
Specified by:
getFacetValueValidator in interface Facet

getFieldName

public String getFieldName()
Specified by:
getFieldName in interface Facet

getSearchContext

public SearchContext getSearchContext()
Specified by:
getSearchContext in interface Facet

isStatic

public boolean isStatic()
Specified by:
isStatic in interface Facet

setFacetCollector

public void setFacetCollector(FacetCollector facetCollector)
Specified by:
setFacetCollector in interface Facet

setFacetConfiguration

public void setFacetConfiguration(FacetConfiguration facetConfiguration)
Specified by:
setFacetConfiguration in interface Facet

setFacetValueValidator

public void setFacetValueValidator(FacetValueValidator facetValueValidator)
Specified by:
setFacetValueValidator in interface Facet

setFieldName

public void setFieldName(String fieldName)
Specified by:
setFieldName in interface Facet

setStatic

public void setStatic(boolean isStatic)
Specified by:
setStatic in interface Facet

doGetFacetClause

protected abstract BooleanClause doGetFacetClause()

Liferay 6.1.2-ce-ga3