@Internal public class FindAllSpecificationInterceptor extends FindAllSpecificationInterceptor
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.
|
protected Specification |
getSpecification(io.micronaut.aop.MethodInvocationContext<?,?> context)
Find
Specification in context. |
intercept
getOrders
convertNumberArgumentIfNecessary, 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, validateNullArguments
protected FindAllSpecificationInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationsprotected Specification getSpecification(io.micronaut.aop.MethodInvocationContext<?,?> context)
AbstractSpecificationInterceptor
Specification
in context.getSpecification
in class AbstractSpecificationInterceptor<java.lang.Object,java.lang.Object>
context
- 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)
FindAllSpecificationInterceptor
addSort
in class FindAllSpecificationInterceptor
sortObject
- The sort objectquery
- The queryroot
- The rootcriteriaBuilder
- The criteria builder