Class LastMajorValidationSystemProperty

    • Method Detail

      • isMultiple

        public boolean isMultiple()
        Description copied from interface: SystemProperty
        Get the multiple status of the property.
        Returns:
        true if the property can have multiple values, false otherwise.
      • isSortable

        public boolean isSortable()
        Description copied from interface: SystemProperty
        Get if the property can be sorted on.
        Returns:
        true if the property can be sorted on, false otherwise.
      • getQuery

        public Query getQuery​(Object value,
                              Query.Operator operator,
                              String language,
                              Map<String,​Object> contextualParameters)
        Description copied from interface: SystemProperty
        Get the Query associated to the given value.
        Parameters:
        value - the user-submitted value for this property.
        operator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).
        language - The current search language.
        contextualParameters - the search contextual parameters.
        Returns:
        The Query associated to the given value.
      • getWidget

        public String getWidget()
        Description copied from interface: SystemProperty
        Get the default widget to use when rendering this property as a criterion.
        Returns:
        The default widget to use, or null if no specific widget is necessary.
      • getJsonValue

        public Object getJsonValue​(Content content,
                                   boolean full)
        Description copied from interface: SystemProperty
        Get the jsonified value
        Parameters:
        content - the result content
        full - true to get full value.
        Returns:
        the content field value