Class FindPageSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,Object>

@Deprecated(since="4.10", forRemoval=true) @Internal public class FindPageSpecificationInterceptor extends AbstractSpecificationInterceptor<Object,Object>
Deprecated, for removal: This API element is subject to removal in a future version.
Specification is deprecated
Runtime implementation of Page find(Specification, Pageable).
Since:
3.1
Author:
graemerocher, Denis Stepanov
  • Constructor Details

    • FindPageSpecificationInterceptor

      protected FindPageSpecificationInterceptor(@NonNull @NonNull RepositoryOperations operations)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • getPageable

      protected final Pageable getPageable(io.micronaut.aop.MethodInvocationContext<?,?> context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractQueryInterceptor
      Resolves the Pageable for the given context.
      Overrides:
      getPageable in class AbstractQueryInterceptor<Object,Object>
      Parameters:
      context - The pageable
      Returns:
      The pageable or null
    • intercept

      public Page intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: DataInterceptor
      Intercepts a data method execution.
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      The result