public abstract class BaseSearchFacet extends java.lang.Object implements SearchFacet
Constructor and Description |
---|
BaseSearchFacet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName() |
com.liferay.portal.kernel.json.JSONObject |
getData() |
com.liferay.portal.kernel.search.facet.Facet |
getFacet() |
com.liferay.portal.kernel.search.facet.config.FacetConfiguration |
getFacetConfiguration() |
protected abstract com.liferay.portal.kernel.search.facet.util.FacetFactory |
getFacetFactory() |
java.lang.String |
getId() |
java.lang.String |
getOrder() |
java.lang.String |
getTitle() |
double |
getWeight() |
void |
init(long companyId,
java.lang.String searchConfiguration) |
void |
init(long companyId,
java.lang.String searchConfiguration,
com.liferay.portal.kernel.search.SearchContext searchContext) |
boolean |
isStatic() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultConfiguration, getFacetClassName, getFieldName, getJSONData, getLabel, includeConfiguration, includeView
public java.lang.String getClassName()
getClassName
in interface SearchFacet
public com.liferay.portal.kernel.json.JSONObject getData()
getData
in interface SearchFacet
public com.liferay.portal.kernel.search.facet.Facet getFacet()
getFacet
in interface SearchFacet
public com.liferay.portal.kernel.search.facet.config.FacetConfiguration getFacetConfiguration()
getFacetConfiguration
in interface SearchFacet
public java.lang.String getId()
getId
in interface SearchFacet
public java.lang.String getOrder()
getOrder
in interface SearchFacet
public java.lang.String getTitle()
getTitle
in interface SearchFacet
public double getWeight()
getWeight
in interface SearchFacet
public void init(long companyId, java.lang.String searchConfiguration) throws java.lang.Exception
init
in interface SearchFacet
java.lang.Exception
public void init(long companyId, java.lang.String searchConfiguration, com.liferay.portal.kernel.search.SearchContext searchContext) throws java.lang.Exception
init
in interface SearchFacet
java.lang.Exception
public boolean isStatic()
isStatic
in interface SearchFacet
protected abstract com.liferay.portal.kernel.search.facet.util.FacetFactory getFacetFactory()