Package com.skava.shipping.util
Class PredicateUtil
java.lang.Object
com.skava.shipping.util.PredicateUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.querydsl.core.types.Predicate
getPredicate
(Class<?> entityClazz, String expression) Get Querydsl Predicatestatic org.springframework.data.domain.Sort
-
Method Details
-
getSort
public static org.springframework.data.domain.Sort getSort(Class<?> entityClazz, com.skava.core.qdsl.sort.EcomSorts ecomSort) -
getPredicate
public static com.querydsl.core.types.Predicate getPredicate(Class<?> entityClazz, String expression) Get Querydsl Predicate- Parameters:
entityClazz
- It contains entitiy to be predicateexpression
- It contains filters to be applied.- Returns:
- it returns predicate.
-