Class NegatableSimpleFacet

java.lang.Object
com.liferay.portal.kernel.search.facet.BaseFacet
com.liferay.portal.kernel.search.facet.SimpleFacet
com.liferay.commerce.search.facet.NegatableSimpleFacet
All Implemented Interfaces:
com.liferay.portal.kernel.search.facet.Facet

public class NegatableSimpleFacet extends com.liferay.portal.kernel.search.facet.SimpleFacet
  • Constructor Summary

    Constructors
    Constructor
    Description
    NegatableSimpleFacet(com.liferay.portal.kernel.search.SearchContext searchContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.liferay.portal.kernel.search.BooleanClause<com.liferay.portal.kernel.search.filter.Filter>
     
    boolean
     
    void
    setNegated(boolean negated)
     

    Methods inherited from class com.liferay.portal.kernel.search.facet.BaseFacet

    doGetFacetClause, getFacetClause, getFacetCollector, getFacetConfiguration, getFacetFilterBooleanClause, getFacetValueValidator, getFieldId, getFieldName, getSearchContext, isStatic, setFacetCollector, setFacetConfiguration, setFacetValueValidator, setFieldName, setStatic

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NegatableSimpleFacet

      public NegatableSimpleFacet(com.liferay.portal.kernel.search.SearchContext searchContext)
  • Method Details

    • isNegated

      public boolean isNegated()
    • setNegated

      public void setNegated(boolean negated)
    • doGetFacetFilterBooleanClause

      protected com.liferay.portal.kernel.search.BooleanClause<com.liferay.portal.kernel.search.filter.Filter> doGetFacetFilterBooleanClause()
      Overrides:
      doGetFacetFilterBooleanClause in class com.liferay.portal.kernel.search.facet.SimpleFacet