Class DefaultFindCursoredPageInterceptor<T,R>
java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,R>
io.micronaut.data.runtime.intercept.DefaultAbstractFindPageInterceptor<T,R>
io.micronaut.data.runtime.intercept.DefaultFindCursoredPageInterceptor<T,R>
- Type Parameters:
T
- The declaring typeR
- The paged type.
- All Implemented Interfaces:
DataInterceptor<T,
,R> FindCursoredPageInterceptor<T,
R>
public class DefaultFindCursoredPageInterceptor<T,R>
extends DefaultAbstractFindPageInterceptor<T,R>
implements FindCursoredPageInterceptor<T,R>
Default implementation of
FindCursoredPageInterceptor
.- Since:
- 4.8.0
- Author:
- Andriy Dmytruk
-
Field Summary
Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver
-
Constructor Summary
ModifierConstructorDescriptionprotected
DefaultFindCursoredPageInterceptor
(@NonNull RepositoryOperations datastore) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Pageable
getPageable
(io.micronaut.aop.MethodInvocationContext<?, ?> context) Resolves thePageable
for the given context.Methods inherited from class io.micronaut.data.runtime.intercept.DefaultAbstractFindPageInterceptor
intercept
Methods inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getDeleteReturningBatchOperation, getDeleteReturningOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.intercept.DataInterceptor
intercept
-
Constructor Details
-
DefaultFindCursoredPageInterceptor
Default constructor.- Parameters:
datastore
- The operations
-
-
Method Details
-
getPageable
Description copied from class:AbstractQueryInterceptor
Resolves thePageable
for the given context.- Overrides:
getPageable
in classAbstractQueryInterceptor<T,
R> - Parameters:
context
- The pageable- Returns:
- The pageable or null
-