Class AbstractSpecificationInterceptor

    • Constructor Detail

      • AbstractSpecificationInterceptor

        protected AbstractSpecificationInterceptor​(RepositoryOperations operations)
        Default constructor.
        Parameters:
        operations - The operations
    • Method Detail

      • getSpecification

        protected Specification<java.lang.Object> getSpecification​(io.micronaut.aop.MethodInvocationContext<?,​?> context)
        Find Specification in context.
        Parameters:
        context - The context
        Returns:
        found specification
      • getOrders

        protected final java.util.List<javax.persistence.criteria.Order> getOrders​(Sort sort,
                                                                                   javax.persistence.criteria.Root<?> root,
                                                                                   javax.persistence.criteria.CriteriaBuilder cb)