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:
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
-
Field Summary
Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultFindCursoredPageInterceptor(@NonNull io.micronaut.data.operations.RepositoryOperations datastore) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected io.micronaut.data.model.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
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:AbstractQueryInterceptorResolves thePageablefor the given context.- Overrides:
getPageablein classAbstractQueryInterceptor<T,R> - Parameters:
context- The pageable- Returns:
- The pageable or null
-