Class AbstractSpecificationInterceptor
- java.lang.Object
- 
- io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,R>
- 
- io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptor<java.lang.Object,java.lang.Object>
- 
- io.micronaut.data.runtime.intercept.reactive.AbstractPublisherInterceptor
- 
- io.micronaut.data.hibernate.reactive.repository.jpa.intercept.AbstractSpecificationInterceptor
 
 
 
 
- 
- All Implemented Interfaces:
- DataInterceptor<java.lang.Object,java.lang.Object>
 - Direct Known Subclasses:
- ReactiveCountSpecificationInterceptor,- ReactiveFindAllSpecificationInterceptor,- ReactiveFindOneSpecificationInterceptor,- ReactiveFindPageSpecificationInterceptor
 
 @Internal public abstract class AbstractSpecificationInterceptor extends AbstractPublisherInterceptor Abstract specification interceptor.- Since:
- 3.5.0
- Author:
- Denis Stepanov
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected HibernateReactorRepositoryOperationsoperations- 
Fields inherited from class io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptorreactiveOperations
 - 
Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptorpreparedQueryResolver
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractSpecificationInterceptor(RepositoryOperations operations)Default constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<javax.persistence.criteria.Order>getOrders(Sort sort, javax.persistence.criteria.Root<?> root, javax.persistence.criteria.CriteriaBuilder cb)protected Specification<java.lang.Object>getSpecification(io.micronaut.aop.MethodInvocationContext<?,?> context)FindSpecificationin context.- 
Methods inherited from class io.micronaut.data.runtime.intercept.reactive.AbstractPublisherInterceptorintercept, interceptPublisher
 - 
Methods inherited from class io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptorcount
 - 
Methods inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptorconvertNumberArgumentIfNecessary, convertOne, 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
 
- 
 
- 
- 
- 
Field Detail- 
operationsprotected final HibernateReactorRepositoryOperations operations 
 
- 
 - 
Constructor Detail- 
AbstractSpecificationInterceptorprotected AbstractSpecificationInterceptor(RepositoryOperations operations) Default constructor.- Parameters:
- operations- The operations
 
 
- 
 - 
Method Detail- 
getSpecificationprotected Specification<java.lang.Object> getSpecification(io.micronaut.aop.MethodInvocationContext<?,?> context) FindSpecificationin context.- Parameters:
- context- The context
- Returns:
- found specification
 
 - 
getOrdersprotected final java.util.List<javax.persistence.criteria.Order> getOrders(Sort sort, javax.persistence.criteria.Root<?> root, javax.persistence.criteria.CriteriaBuilder cb) 
 
- 
 
-