Class FacetConfiguration

java.lang.Object
com.liferay.portal.search.rest.dto.v1_0.FacetConfiguration
All Implemented Interfaces:
Serializable

@Generated("") public class FacetConfiguration extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • aggregationName

      protected String aggregationName
    • attributes

      protected Map<String,Object> attributes
    • frequencyThreshold

      protected Integer frequencyThreshold
    • maxTerms

      protected Integer maxTerms
    • name

      protected String name
    • values

      protected Object[] values
    • xClassName

      public String xClassName
  • Constructor Details

    • FacetConfiguration

      public FacetConfiguration()
  • Method Details

    • toDTO

      public static FacetConfiguration toDTO(String json)
    • unsafeToDTO

      public static FacetConfiguration unsafeToDTO(String json)
    • getAggregationName

      public String getAggregationName()
    • setAggregationName

      public void setAggregationName(String aggregationName)
    • setAggregationName

      public void setAggregationName(com.liferay.petra.function.UnsafeSupplier<String,Exception> aggregationNameUnsafeSupplier)
    • getAttributes

      @Valid public @Valid Map<String,Object> getAttributes()
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • setAttributes

      public void setAttributes(com.liferay.petra.function.UnsafeSupplier<Map<String,Object>,Exception> attributesUnsafeSupplier)
    • getFrequencyThreshold

      public Integer getFrequencyThreshold()
    • setFrequencyThreshold

      public void setFrequencyThreshold(Integer frequencyThreshold)
    • setFrequencyThreshold

      public void setFrequencyThreshold(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> frequencyThresholdUnsafeSupplier)
    • getMaxTerms

      public Integer getMaxTerms()
    • setMaxTerms

      public void setMaxTerms(Integer maxTerms)
    • setMaxTerms

      public void setMaxTerms(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> maxTermsUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getValues

      @Valid public @Valid Object[] getValues()
    • setValues

      public void setValues(Object[] values)
    • setValues

      public void setValues(com.liferay.petra.function.UnsafeSupplier<Object[],Exception> valuesUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object