T
- The declaring typeR
- The return typepublic class DefaultSaveAllInterceptor<T,R> extends AbstractQueryInterceptor<T,java.lang.Iterable<R>> implements SaveAllInterceptor<T,R>
SaveAllInterceptor
.operations
Constructor and Description |
---|
DefaultSaveAllInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<R> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.lang.Iterable<R>> context)
Intercepts a data method execution.
|
convertNumberArgumentIfNecessary, getBatchOperation, getBatchOperation, getBatchOperation, getBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getRequiredEntity, getRequiredRootEntity, getUpdateOperation, instantiateEntity, isNullable, prepareCountQuery, prepareQuery, prepareQuery, validateNullArguments
public DefaultSaveAllInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationspublic java.lang.Iterable<R> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.lang.Iterable<R>> context)
DataInterceptor
intercept
in interface DataInterceptor<T,java.lang.Iterable<R>>
methodKey
- The method keycontext
- The context