Uses of Interface
jakarta.data.restrict.Restriction
Packages that use Restriction
-
Uses of Restriction in jakarta.data.expression
Methods in jakarta.data.expression that return RestrictionModifier and TypeMethodDescriptiondefault <U extends ComparableExpression<? super T,V>>
Restriction<T> ComparableExpression.between(U minExpression, U maxExpression) Obtains aRestrictionthat requires that this expression evaluate to a value falling within the range between (and inclusive of) the values to which the given expressions evaluate.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value falling within the range between (and inclusive of) the specified values.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that contains the specified substring.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that ends with the specified suffix.default Restriction<T> Expression.equalTo(Expression<? super T, V> expression) Obtains aRestrictionthat requires that this expression and the specified expression evaluate to values that are equal.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is equal to the specified value.default Restriction<T> ComparableExpression.greaterThan(ComparableExpression<? super T, V> expression) Obtains aRestrictionthat requires that this expression evaluate to a value greater than the value to which the given expression evaluates.default Restriction<T> ComparableExpression.greaterThan(V value) Obtains aRestrictionthat requires that this expression evaluate to a value greater than the given value.default Restriction<T> ComparableExpression.greaterThanEqual(ComparableExpression<? super T, V> expression) Obtains aRestrictionthat requires that this expression evaluate to a value greater than or equal to the value to which the given expression evaluates.default Restriction<T> ComparableExpression.greaterThanEqual(V value) Obtains aRestrictionthat requires that this expression evaluate to a value greater than or equal to the given value.default Restriction<T> Expression.in(Expression<? super T, V>... expressions) Obtains aRestrictionthat requires that this expression and at least one of the specified expressions evaluate to values that are equal.default Restriction<T> Expression.in(Collection<V> values) Obtains aRestrictionthat requires that this expression evaluate to a value that is equal to one of the values within the specified collection.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is equal to one of the specified values.default Restriction<T> BooleanExpression.isFalse()Obtains aRestrictionthat requires that this expression evaluate to afalsevalue.default Restriction<T> Expression.isNull()Obtains aRestrictionthat requires that this expression evaluate to anullvalue.default Restriction<T> BooleanExpression.isTrue()Obtains aRestrictionthat requires that this expression evaluate to atruevalue.default Restriction<T> ComparableExpression.lessThan(ComparableExpression<? super T, V> expression) Obtains aRestrictionthat requires that this expression evaluate to a value smaller than the value to which the given expression evaluates.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value smaller than the given value.default Restriction<T> ComparableExpression.lessThanEqual(ComparableExpression<? super T, V> expression) Obtains aRestrictionthat requires that this expression evaluate to a value less than or equal to the value to which the given expression evaluates.default Restriction<T> ComparableExpression.lessThanEqual(V value) Obtains aRestrictionthat requires that this expression evaluate to a value less than or equal to the given value.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is like the specified pattern.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is like the specified pattern.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is like the specified pattern.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is like the specified pattern.default <U extends ComparableExpression<? super T,V>>
Restriction<T> ComparableExpression.notBetween(U minExpression, U maxExpression) Obtains aRestrictionthat requires that this expression evaluate to a value falling outside the range between the values to which the given expressions evaluate.default Restriction<T> ComparableExpression.notBetween(V min, V max) Obtains aRestrictionthat requires that this expression evaluate to a value falling outside the range between given values.default Restriction<T> TextExpression.notContains(String substring) Obtains aRestrictionthat requires that this expression evaluate to a value that does not contain the specified substring.default Restriction<T> TextExpression.notEndsWith(String suffix) Obtains aRestrictionthat requires that this expression evaluate to a value that does not end with the specified suffix.default Restriction<T> Expression.notEqualTo(Expression<? super T, V> expression) Obtains aRestrictionthat requires that this expression and the specified expression evaluate to values that are not equal to each other.default Restriction<T> Expression.notEqualTo(V value) Obtains aRestrictionthat requires that this expression evaluate to a value that is not equal to the specified value.default Restriction<T> Expression.notIn(Expression<? super T, V>... expressions) Obtains aRestrictionthat requires that this expression evaluate to a value that is not equal to any of the values to which the specified expressions evaluate.default Restriction<T> Expression.notIn(Collection<V> values) Obtains aRestrictionthat requires that this expression evaluate to a value that is not equal to any of the values within the specified collection.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is not equal to any of the specified values.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is not like the specified pattern.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is not like the specified pattern.default Restriction<T> Obtains aRestrictionthat requires that this expression evaluate to a value that is not like the specified pattern.default Restriction<T> Expression.notNull()Obtains aRestrictionthat requires that this expression does not evaluate to anullvalue.default Restriction<T> TextExpression.notStartsWith(String prefix) Obtains aRestrictionthat requires that this expression evaluate to a value that does not begin with the specified prefix.default Restriction<T> Expression.satisfies(Constraint<V> constraint) Obtains aRestrictionthat requires that this expression evaluate to a value that satisfies the specifiedConstraint.default Restriction<T> TextExpression.startsWith(String prefix) Obtains aRestrictionthat requires that this expression evaluate to a value that begins with the specified prefix. -
Uses of Restriction in jakarta.data.restrict
Subinterfaces of Restriction in jakarta.data.restrictModifier and TypeInterfaceDescriptioninterfaceBasicRestriction<T,V> A Jakarta Data provider's view of a restriction on a single entity attribute or expression.interfaceA Jakarta Data provider's view of a restriction that combines other restrictions.Methods in jakarta.data.restrict that return RestrictionModifier and TypeMethodDescriptionstatic <T> Restriction<T> Restrict.all(Restriction<? super T>... restrictions) Returns a composite restriction that is satisfied when all of the supplied restrictions are satisfied.static <T> Restriction<T> Restrict.all(List<? extends Restriction<? super T>> restrictions) Returns a composite restriction that is satisfied when all of the supplied restrictions are satisfied.static <T> Restriction<T> Restrict.any(Restriction<? super T>... restrictions) Returns a composite restriction that is satisfied when at least one of the supplied restrictions is satisfied.static <T> Restriction<T> Restrict.any(List<? extends Restriction<? super T>> restrictions) Returns a composite restriction that is satisfied when at least one of the supplied restrictions is satisfied.Restriction.negate()Returns the negation of this restriction.static <T> Restriction<T> Restrict.not(Restriction<T> restriction) Returns the negation of the specified restriction.static <T,V> Restriction <T> BasicRestriction.of(Expression<T, V> expression, Constraint<V> constraint) Creates a new restriction that represents a constraint on the specified entity attribute or expression.static <T> Restriction<T> Restrict.unrestricted()Returns a restriction that always evaluates to satisfied.Methods in jakarta.data.restrict that return types with arguments of type RestrictionModifier and TypeMethodDescriptionList<Restriction<? super T>> CompositeRestriction.restrictions()An ordered list of restrictions.Methods in jakarta.data.restrict with parameters of type RestrictionModifier and TypeMethodDescriptionstatic <T> Restriction<T> Restrict.all(Restriction<? super T>... restrictions) Returns a composite restriction that is satisfied when all of the supplied restrictions are satisfied.static <T> Restriction<T> Restrict.any(Restriction<? super T>... restrictions) Returns a composite restriction that is satisfied when at least one of the supplied restrictions is satisfied.static <T> Restriction<T> Restrict.not(Restriction<T> restriction) Returns the negation of the specified restriction.Method parameters in jakarta.data.restrict with type arguments of type RestrictionModifier and TypeMethodDescriptionstatic <T> Restriction<T> Restrict.all(List<? extends Restriction<? super T>> restrictions) Returns a composite restriction that is satisfied when all of the supplied restrictions are satisfied.static <T> Restriction<T> Restrict.any(List<? extends Restriction<? super T>> restrictions) Returns a composite restriction that is satisfied when at least one of the supplied restrictions is satisfied.