T
- The declaring typepublic class DefaultExistsByAsyncInterceptor<T> extends AbstractAsyncInterceptor<T,java.lang.Boolean> implements ExistsByAsyncInterceptor<T>
ExistsByAsyncInterceptor
.asyncDatastoreOperations
operations
Modifier | Constructor and Description |
---|---|
protected |
DefaultExistsByAsyncInterceptor(RepositoryOperations datastore)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.lang.Boolean> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Boolean>> context)
Intercepts a data method execution.
|
convertNumberArgumentIfNecessary, count, findEntitiesParameter, findEntityParameter, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getRequiredEntity, getRequiredRootEntity, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, validateNullArguments
protected DefaultExistsByAsyncInterceptor(@NonNull RepositoryOperations datastore)
datastore
- The operationspublic java.util.concurrent.CompletionStage<java.lang.Boolean> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Boolean>> context)
DataInterceptor
intercept
in interface DataInterceptor<T,java.util.concurrent.CompletionStage<java.lang.Boolean>>
methodKey
- The method keycontext
- The context