Class DefaultFindCursoredPageInterceptor<T,R>

Type Parameters:
T - The declaring type
R - The paged type.
All Implemented Interfaces:
io.micronaut.data.intercept.DataInterceptor<T,R>, io.micronaut.data.intercept.FindCursoredPageInterceptor<T,R>

public class DefaultFindCursoredPageInterceptor<T,R> extends DefaultAbstractFindPageInterceptor<T,R> implements io.micronaut.data.intercept.FindCursoredPageInterceptor<T,R>
Default implementation of FindCursoredPageInterceptor.
Since:
4.8.0
  • Constructor Details

    • DefaultFindCursoredPageInterceptor

      protected DefaultFindCursoredPageInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations datastore)
      Default constructor.
      Parameters:
      datastore - The operations
  • Method Details

    • getPageable

      protected io.micronaut.data.model.Pageable getPageable(io.micronaut.aop.MethodInvocationContext<?,?> context)
      Description copied from class: AbstractQueryInterceptor
      Resolves the Pageable for the given context.
      Overrides:
      getPageable in class AbstractQueryInterceptor<T,R>
      Parameters:
      context - The pageable
      Returns:
      The pageable or null