Package io.tesler.api.data.dao
Class SpecificationUtils
- java.lang.Object
-
- io.tesler.api.data.dao.SpecificationUtils
-
public class SpecificationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SpecificationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> BinaryOperator<org.springframework.data.jpa.domain.Specification<T>>
and()
static <T> org.springframework.data.jpa.domain.Specification<T>
and(org.springframework.data.jpa.domain.Specification<T>... specs)
static <T> org.springframework.data.jpa.domain.Specification<T>
falseSpecification()
static <T> BinaryOperator<org.springframework.data.jpa.domain.Specification<T>>
or()
static <T> org.springframework.data.jpa.domain.Specification<T>
or(org.springframework.data.jpa.domain.Specification<T>... specs)
static <T> org.springframework.data.jpa.domain.Specification<T>
trueSpecification()
-
-
-
Method Detail
-
trueSpecification
public static <T> org.springframework.data.jpa.domain.Specification<T> trueSpecification()
-
falseSpecification
public static <T> org.springframework.data.jpa.domain.Specification<T> falseSpecification()
-
and
public static <T> BinaryOperator<org.springframework.data.jpa.domain.Specification<T>> and()
-
or
public static <T> BinaryOperator<org.springframework.data.jpa.domain.Specification<T>> or()
-
and
@SafeVarargs public static <T> org.springframework.data.jpa.domain.Specification<T> and(org.springframework.data.jpa.domain.Specification<T>... specs)
-
or
@SafeVarargs public static <T> org.springframework.data.jpa.domain.Specification<T> or(org.springframework.data.jpa.domain.Specification<T>... specs)
-
-