public interface OrderFactory
- Since:
- 0.0.9
- Author:
- Mislav Milicevic
-
Method Summary
Modifier and TypeMethodDescription<ENTITY> List<jakarta.persistence.criteria.Order>createOrder(Criteria<ENTITY, ?> criteria, Comparator<ENTITY> comparator) Creates and returns a JPAOrderwith theComparatorserving as the model from which theOrderis created.
-
Method Details
-
createOrder
<ENTITY> List<jakarta.persistence.criteria.Order> createOrder(Criteria<ENTITY, ?> criteria, Comparator<ENTITY> comparator) Creates and returns a JPAOrderwith theComparatorserving as the model from which theOrderis created. The JPAOrderis created using the providedcriteria.- Type Parameters:
ENTITY- root entity- Parameters:
criteria- used to create the JPA Predicatecomparator- used as a model for the JPA Order that is being created- Returns:
- JPA Predicate
-