Class AbstractSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,Object>
Direct Known Subclasses:
ReactiveCountSpecificationInterceptor, ReactiveFindAllSpecificationInterceptor, ReactiveFindOneSpecificationInterceptor, ReactiveFindPageSpecificationInterceptor

@Internal public abstract class AbstractSpecificationInterceptor extends AbstractPublisherInterceptor
Abstract specification interceptor.
Since:
3.5.0
Author:
Denis Stepanov
  • Field Details

  • Constructor Details

    • AbstractSpecificationInterceptor

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

    • getSpecification

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

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