Class SearchServiceCriterionMode.CriterionWrappedValue

java.lang.Object
org.ametys.cms.search.advanced.WrappedValue
org.ametys.web.frontoffice.search.instance.model.SearchServiceCriterionMode.CriterionWrappedValue
Enclosing class:
SearchServiceCriterionMode

  • Method Details

    • requestEmptyValue

      public boolean requestEmptyValue()
      Determines if an empty value request is necessary An empty value request is necessary if the wrapped value is from enumerated and not mandatory data, or if the user has selected none or all values for restricted user input.
      Returns:
      true if an empty value request is necessary, false otherwise
    • hasValue

      public boolean hasValue()
      Determines if a real value (not the none one) has been selected
      Returns:
      true if a value has been selected, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class WrappedValue