Interface OrderFactory


public interface OrderFactory
Since:
0.0.9
Author:
Mislav Milicevic
  • Method Summary

    Modifier and Type
    Method
    Description
    <ENTITY> List<jakarta.persistence.criteria.Order>
    createOrder(Criteria<ENTITY,?> criteria, Comparator<ENTITY> comparator)
    Creates and returns a JPA Order with the Comparator serving as the model from which the Order is created.
  • Method Details

    • createOrder

      <ENTITY> List<jakarta.persistence.criteria.Order> createOrder(Criteria<ENTITY,?> criteria, Comparator<ENTITY> comparator)
      Creates and returns a JPA Order with the Comparator serving as the model from which the Order is created. The JPA Order is created using the provided criteria.
      Type Parameters:
      ENTITY - root entity
      Parameters:
      criteria - used to create the JPA Predicate
      comparator - used as a model for the JPA Order that is being created
      Returns:
      JPA Predicate