@Internal public class FindAllSpecificationInterceptor extends AbstractSpecificationInterceptor<java.lang.Object,java.lang.Object>
findAll(Specification).operations, preparedQueryResolver| Modifier | Constructor and Description |
|---|---|
protected |
FindAllSpecificationInterceptor(RepositoryOperations operations)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSort(java.lang.Object sortObject,
javax.persistence.criteria.CriteriaQuery<java.lang.Object> query,
javax.persistence.criteria.Root<java.lang.Object> root,
javax.persistence.criteria.CriteriaBuilder criteriaBuilder)
Add sort to the query.
|
java.lang.Object |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
Intercepts a data method execution.
|
getOrders, getSpecificationconvertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArgumentsprotected FindAllSpecificationInterceptor(@NonNull
RepositoryOperations operations)
operations - The operationspublic java.lang.Object intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
DataInterceptormethodKey - The method keycontext - The contextprotected void addSort(java.lang.Object sortObject,
javax.persistence.criteria.CriteriaQuery<java.lang.Object> query,
javax.persistence.criteria.Root<java.lang.Object> root,
javax.persistence.criteria.CriteriaBuilder criteriaBuilder)
sortObject - The sort objectquery - The queryroot - The rootcriteriaBuilder - The criteria builder