T
- The declaring typeR
- The return typepublic abstract class AbstractAsyncSpecificationInterceptor<T,R> extends AbstractSpecificationInterceptor<T,R>
AbstractSpecificationInterceptor.Type
Modifier and Type | Field and Description |
---|---|
protected AsyncRepositoryOperations |
asyncOperations |
protected static io.micronaut.core.type.Argument<java.util.List<java.lang.Object>> |
LIST_OF_OBJECTS |
operations, preparedQueryResolver
Modifier | Constructor and Description |
---|---|
protected |
AbstractAsyncSpecificationInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Number |
convertNumberToReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context,
java.lang.Number number)
Convert a number argument if necessary.
|
protected io.micronaut.core.type.Argument<?> |
findReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context,
io.micronaut.core.type.Argument<?> defaultArg) |
protected io.micronaut.core.type.Argument<?> |
getReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context)
Returns the return type.
|
getDeleteSpecification, getQuerySpecification, getUpdateSpecification, preparedQueryForCriteria
convertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
intercept
protected static final io.micronaut.core.type.Argument<java.util.List<java.lang.Object>> LIST_OF_OBJECTS
protected final AsyncRepositoryOperations asyncOperations
protected AbstractAsyncSpecificationInterceptor(RepositoryOperations operations)
operations
- The operationsprotected final io.micronaut.core.type.Argument<?> getReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context)
AbstractQueryInterceptor
getReturnType
in class AbstractQueryInterceptor<T,R>
context
- The contextprotected final io.micronaut.core.type.Argument<?> findReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context, io.micronaut.core.type.Argument<?> defaultArg)
@Nullable protected java.lang.Number convertNumberToReturnType(io.micronaut.aop.MethodInvocationContext<?,?> context, java.lang.Number number)
context
- The method contextnumber
- The number