T
- The declaring typepublic class DefaultUpdateInterceptor<T> extends AbstractQueryInterceptor<T,java.lang.Object> implements UpdateInterceptor<T>
UpdateInterceptor
.operations
Constructor and Description |
---|
DefaultUpdateInterceptor(RepositoryOperations datastore)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.lang.Object> 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
public DefaultUpdateInterceptor(@NonNull RepositoryOperations datastore)
datastore
- The operationspublic java.lang.Object intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.lang.Object> context)
DataInterceptor
intercept
in interface DataInterceptor<T,java.lang.Object>
methodKey
- The method keycontext
- The context