@Internal public class FindPageSpecificationInterceptor extends AbstractSpecificationInterceptor<java.lang.Object,java.lang.Object>
Page find(Specification, Pageable)
.operations, preparedQueryResolver
Modifier | Constructor and Description |
---|---|
protected |
FindPageSpecificationInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Pageable |
getPageable(io.micronaut.aop.MethodInvocationContext<?,?> context)
Resolves the
Pageable for the given context. |
Page |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
Intercepts a data method execution.
|
getOrders, getSpecification
convertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
protected FindPageSpecificationInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationsprotected final Pageable getPageable(io.micronaut.aop.MethodInvocationContext<?,?> context)
AbstractQueryInterceptor
Pageable
for the given context.getPageable
in class AbstractQueryInterceptor<java.lang.Object,java.lang.Object>
context
- The pageablepublic Page intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
DataInterceptor
methodKey
- The method keycontext
- The context