Package io.micronaut.data.intercept
Interface DataInterceptor<T,R>
- Type Parameters:
T- The declaring typeR- The return type
- All Known Subinterfaces:
CountAsyncInterceptor<T>,CountInterceptor<T>,CountReactiveInterceptor<T,,R> DeleteAllAsyncInterceptor<T,,R> DeleteAllInterceptor<T>,DeleteAllReactiveInterceptor<T,,R> DeleteAllReturningInterceptor<E,,R> DeleteOneAsyncInterceptor<T,,R> DeleteOneInterceptor<T>,DeleteOneReactiveInterceptor<T,,R> DeleteReturningManyInterceptor<T,,R> DeleteReturningOneInterceptor<T,,R> ExistsByAsyncInterceptor<T>,ExistsByInterceptor<T>,ExistsByReactiveInterceptor<T,,R> FindAllAsyncInterceptor<T>,FindAllInterceptor<T,,R> FindAllReactiveInterceptor<T,,R> FindByIdAsyncInterceptor<T>,FindByIdInterceptor<T>,FindByIdReactiveInterceptor<T,,R> FindCursoredPageInterceptor<T,,R> FindOneAsyncInterceptor<T>,FindOneInterceptor<T>,FindOneReactiveInterceptor<T,,R> FindOptionalInterceptor<T>,FindPageAsyncInterceptor<T>,FindPageInterceptor<T,,R> FindPageReactiveInterceptor<T,,R> FindSliceAsyncInterceptor<T>,FindSliceInterceptor<T,,R> FindSliceReactiveInterceptor<T,,R> FindStreamInterceptor<T>,InsertReturningManyInterceptor<T,,R> InsertReturningOneInterceptor<T,,R> IterableResultInterceptor<T,,R> ProcedureReactiveInterceptor<T,,R> ProcedureReturningManyAsyncInterceptor<T,,R> ProcedureReturningManyInterceptor<T,,R> ProcedureReturningOneAsyncInterceptor<T,,R> ProcedureReturningOneInterceptor<T,,R> SaveAllAsyncInterceptor<T>,SaveAllInterceptor<T,,R> SaveAllReactiveInterceptor<T,,R> SaveEntityAsyncInterceptor<T>,SaveEntityInterceptor<T>,SaveEntityReactiveInterceptor<T,,R> SaveOneAsyncInterceptor<T>,SaveOneInterceptor<T>,SaveOneReactiveInterceptor<T,,R> UpdateAllEntitiesInterceptor<T,,R> UpdateAllEntitiesReactiveInterceptor<T,,R> UpdateAllEntriesAsyncInterceptor<T,,R> UpdateAsyncInterceptor<T>,UpdateEntityAsyncInterceptor<T>,UpdateEntityInterceptor<T>,UpdateEntityReactiveInterceptor<T,,R> UpdateInterceptor<T>,UpdateReactiveInterceptor<T,,R> UpdateReturningManyInterceptor<T,,R> UpdateReturningOneInterceptor<T,R>
- All Known Implementing Classes:
AbstractAsyncInterceptor,AbstractAsyncSpecificationInterceptor,AbstractConvertCompletionStageInterceptor,AbstractCountConvertCompletionStageInterceptor,AbstractPublisherInterceptor,AbstractQueryInterceptor,AbstractReactiveInterceptor,AbstractReactiveSpecificationInterceptor,AbstractSpecificationInterceptor,AbstractSpecificationInterceptor,AbstractSpecificationInterceptor,CountAsyncSpecificationInterceptor,CountReactiveSpecificationInterceptor,CountSpecificationInterceptor,CountSpecificationInterceptor,CountSpecificationInterceptor,DefaultAbstractFindPageInterceptor,DefaultCountAsyncInterceptor,DefaultCountInterceptor,DefaultCountReactiveInterceptor,DefaultDeleteAllAsyncInterceptor,DefaultDeleteAllInterceptor,DefaultDeleteAllReactiveInterceptor,DefaultDeleteAllReturningInterceptor,DefaultDeleteOneAsyncInterceptor,DefaultDeleteOneInterceptor,DefaultDeleteOneReactiveInterceptor,DefaultDeleteReturningManyInterceptor,DefaultDeleteReturningOneInterceptor,DefaultExistsByAsyncInterceptor,DefaultExistsByInterceptor,DefaultExistsByReactiveInterceptor,DefaultFindAllAsyncInterceptor,DefaultFindAllInterceptor,DefaultFindAllReactiveInterceptor,DefaultFindByIdAsyncInterceptor,DefaultFindByIdInterceptor,DefaultFindByIdReactiveInterceptor,DefaultFindCursoredPageInterceptor,DefaultFindOneAsyncInterceptor,DefaultFindOneInterceptor,DefaultFindOneReactiveInterceptor,DefaultFindOptionalInterceptor,DefaultFindPageAsyncInterceptor,DefaultFindPageInterceptor,DefaultFindPageReactiveInterceptor,DefaultFindSliceAsyncInterceptor,DefaultFindSliceInterceptor,DefaultFindSliceReactiveInterceptor,DefaultFindStreamInterceptor,DefaultInsertReturningManyInterceptor,DefaultInsertReturningOneInterceptor,DefaultProcedureReactiveInterceptor,DefaultProcedureReturningManyAsyncInterceptor,DefaultProcedureReturningManyInterceptor,DefaultProcedureReturningOneAsyncInterceptor,DefaultProcedureReturningOneInterceptor,DefaultSaveAllAsyncInterceptor,DefaultSaveAllInterceptor,DefaultSaveAllReactiveInterceptor,DefaultSaveEntityInterceptor,DefaultSaveEntityInterceptor,DefaultSaveEntityReactiveInterceptor,DefaultSaveOneAsyncInterceptor,DefaultSaveOneInterceptor,DefaultSaveOneReactiveInterceptor,DefaultUpdateAllAsyncEntitiesInterceptor,DefaultUpdateAllEntitiesInterceptor,DefaultUpdateAllEntitiesReactiveInterceptor,DefaultUpdateAsyncInterceptor,DefaultUpdateEntityAsyncInterceptor,DefaultUpdateEntityInterceptor,DefaultUpdateEntityReactiveInterceptor,DefaultUpdateInterceptor,DefaultUpdateReactiveInterceptor,DefaultUpdateReturningManyInterceptor,DefaultUpdateReturningOneInterceptor,DeleteAllAsyncSpecificationInterceptor,DeleteAllReactiveSpecificationInterceptor,DeleteAllSpecificationInterceptor,DeleteSpecificationInterceptor,DeleteSpecificationInterceptor,ExistsAsyncSpecificationInterceptor,ExistsReactiveSpecificationInterceptor,ExistsSpecificationInterceptor,FindAllAsyncSpecificationInterceptor,FindAllReactiveSpecificationInterceptor,FindAllSpecificationInterceptor,FindAllSpecificationInterceptor,FindAllSpecificationInterceptor,FindOneAsyncSpecificationInterceptor,FindOneReactiveSpecificationInterceptor,FindOneSpecificationInterceptor,FindOneSpecificationInterceptor,FindOneSpecificationInterceptor,FindPageAsyncSpecificationInterceptor,FindPageReactiveSpecificationInterceptor,FindPageSpecificationInterceptor,FindPageSpecificationInterceptor,FindPageSpecificationInterceptor,FlushInterceptor,LoadInterceptor,MergeInterceptor,ReactiveCountSpecificationInterceptor,ReactiveFindAllSpecificationInterceptor,ReactiveFindOneSpecificationInterceptor,ReactiveFindPageSpecificationInterceptor,UpdateAllAsyncSpecificationInterceptor,UpdateAllReactiveSpecificationInterceptor,UpdateAllSpecificationInterceptor
@Introspected
public interface DataInterceptor<T,R>
Marker interface for all Data related interceptors.
- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptionintercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T, R> context) Intercepts a data method execution.
-
Method Details
-
intercept
Intercepts a data method execution.- Parameters:
methodKey- The method keycontext- The context- Returns:
- The result
-