T
- the entity typepublic class LoadInterceptor<T> extends AbstractQueryInterceptor<T,T> implements DataInterceptor<T,T>
operations
Modifier | Constructor and Description |
---|---|
protected |
LoadInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,T> 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 LoadInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationspublic T intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,T> context)
DataInterceptor
intercept
in interface DataInterceptor<T,T>
methodKey
- The method keycontext
- The context