T
- The declaring type.public class DefaultFindOneInterceptor<T> extends AbstractQueryInterceptor<T,java.lang.Object> implements FindOneInterceptor<T>
FindOneInterceptor
interface.operations
Modifier | Constructor and Description |
---|---|
protected |
DefaultFindOneInterceptor(RepositoryOperations datastore)
The 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, getBatchOperation, getBatchOperation, getBatchOperation, getBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getRequiredEntity, getRequiredRootEntity, getUpdateOperation, instantiateEntity, isNullable, prepareCountQuery, prepareQuery, prepareQuery, validateNullArguments
protected DefaultFindOneInterceptor(@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