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
ConstructorsModifierConstructorDescriptionprotectedDefaultFindCursoredPageInterceptor(@NonNull RepositoryOperations datastore) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected PageablegetPageable(io.micronaut.aop.MethodInvocationContext<?, ?> context) Resolves thePageablefor the given context.Methods inherited from class io.micronaut.data.runtime.intercept.DefaultAbstractFindPageInterceptor
interceptMethods 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, getLimit, getOffset, getPageableInRole, getPagedQuery, getParameterInRole, getParameterValueMap, getRequiredEntity, getRequiredParameterInRole, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, validateNullArgumentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractQueryInterceptorResolves thePageablefor the given context.- Overrides:
getPageablein classAbstractQueryInterceptor<T,R> - Parameters:
context- The pageable- Returns:
- The pageable or null
-