@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. |
interceptgetOrdersconvertNumberArgumentIfNecessary, 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 operationsprotected Specification getSpecification(io.micronaut.aop.MethodInvocationContext<?,?> context)
AbstractSpecificationInterceptorSpecification 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)
FindAllSpecificationInterceptoraddSort in class FindAllSpecificationInterceptorsortObject - The sort objectquery - The queryroot - The rootcriteriaBuilder - The criteria builder