Interface FilterConditionEndContext


  • @Deprecated
    public interface FilterConditionEndContext
    Deprecated.
    since 10.1. See deprecation note on QueryBuilder.
    The context that ends a condition. Here we are expected to specify the right hand side of the filter condition, the operator and the operand, in order to complete the filter.
    Since:
    6.0
    Author:
    anistor@redhat.com
    • Method Detail

      • in

        FilterConditionContextQueryBuilder in​(Object... values)
        Deprecated.
        Checks that the left operand is equal to one of the (fixed) list of values given as argument.
        Parameters:
        values - the list of values
        Returns:
        the completed context
      • in

        FilterConditionContextQueryBuilder in​(Collection values)
        Deprecated.
        Checks that the left operand is equal to one of the elements from the Collection of values given as argument.
        Parameters:
        values - the collection of values
        Returns:
        the completed context
      • like

        FilterConditionContextQueryBuilder like​(String pattern)
        Deprecated.
        Checks that the left argument (which is expected to be a String) matches a wildcard pattern that follows the JPA rules.
        Parameters:
        pattern - the wildcard pattern
        Returns:
        the completed context
      • contains

        FilterConditionContextQueryBuilder contains​(Object value)
        Deprecated.
        Checks that the left argument (which is expected to be an array or a Collection) contains the given element.
        Parameters:
        value - the value to check
        Returns:
        the completed context
      • containsAll

        FilterConditionContextQueryBuilder containsAll​(Object... values)
        Deprecated.
        Checks that the left argument (which is expected to be an array or a Collection) contains all of the the given elements, in any order.
        Parameters:
        values - the list of elements to check
        Returns:
        the completed context
      • containsAll

        FilterConditionContextQueryBuilder containsAll​(Collection values)
        Deprecated.
        Checks that the left argument (which is expected to be an array or a Collection) contains all the elements of the given collection, in any order.
        Parameters:
        values - the Collection of elements to check
        Returns:
        the completed context
      • containsAny

        FilterConditionContextQueryBuilder containsAny​(Object... values)
        Deprecated.
        Checks that the left argument (which is expected to be an array or a Collection) contains any of the the given elements.
        Parameters:
        values - the list of elements to check
        Returns:
        the completed context
      • containsAny

        FilterConditionContextQueryBuilder containsAny​(Collection values)
        Deprecated.
        Checks that the left argument (which is expected to be an array or a Collection) contains any of the elements of the given collection.
        Parameters:
        values - the Collection of elements to check
        Returns:
        the completed context
      • eq

        <T extends QueryBuilder & FilterConditionContext> T eq​(Object value)
        Deprecated.
        Checks that the left argument is equal to the given value.
        Parameters:
        value - the value to compare with
        Returns:
        the completed context
      • lt

        FilterConditionContextQueryBuilder lt​(Object value)
        Deprecated.
        Checks that the left argument is less than the given value.
        Parameters:
        value - the value to compare with
        Returns:
        the completed context
      • lte

        FilterConditionContextQueryBuilder lte​(Object value)
        Deprecated.
        Checks that the left argument is less than or equal to the given value.
        Parameters:
        value - the value to compare with
        Returns:
        the completed context
      • gt

        FilterConditionContextQueryBuilder gt​(Object value)
        Deprecated.
        Checks that the left argument is greater than the given value.
        Parameters:
        value - the value to compare with
        Returns:
        the completed context
      • gte

        FilterConditionContextQueryBuilder gte​(Object value)
        Deprecated.
        Checks that the left argument is greater than or equal to the given value.
        Parameters:
        value - the value to compare with
        Returns:
        the completed context
      • between

        RangeConditionContextQueryBuilder between​(Object from,
                                                  Object to)
        Deprecated.
        Checks that the left argument is between the given range limits. The limits are inclusive by default, but this can be changed using the methods from the returned RangeConditionContext
        Parameters:
        from - the start of the range
        to - the end of the range
        Returns:
        the RangeConditionContext context