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> DeleteOneAsyncInterceptor<T,
,R> DeleteOneInterceptor<T>
,DeleteOneReactiveInterceptor<T,
,R> ExistsByAsyncInterceptor<T>
,ExistsByInterceptor<T>
,ExistsByReactiveInterceptor<T,
,R> FindAllAsyncInterceptor<T>
,FindAllInterceptor<T,
,R> FindAllReactiveInterceptor<T,
,R> FindByIdAsyncInterceptor<T>
,FindByIdInterceptor<T>
,FindByIdReactiveInterceptor<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>
,IterableResultInterceptor<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>
- All Known Implementing Classes:
AbstractAsyncInterceptor
,AbstractAsyncSpecificationInterceptor
,AbstractConvertCompletionStageInterceptor
,AbstractCountConvertCompletionStageInterceptor
,AbstractPublisherInterceptor
,AbstractQueryInterceptor
,AbstractReactiveInterceptor
,AbstractReactiveSpecificationInterceptor
,AbstractSpecificationInterceptor
,AbstractSpecificationInterceptor
,AbstractSpecificationInterceptor
,CountAsyncSpecificationInterceptor
,CountReactiveSpecificationInterceptor
,CountSpecificationInterceptor
,CountSpecificationInterceptor
,CountSpecificationInterceptor
,DefaultCountAsyncInterceptor
,DefaultCountInterceptor
,DefaultCountReactiveInterceptor
,DefaultDeleteAllAsyncInterceptor
,DefaultDeleteAllInterceptor
,DefaultDeleteAllReactiveInterceptor
,DefaultDeleteOneAsyncInterceptor
,DefaultDeleteOneInterceptor
,DefaultDeleteOneReactiveInterceptor
,DefaultExistsByAsyncInterceptor
,DefaultExistsByInterceptor
,DefaultExistsByReactiveInterceptor
,DefaultFindAllAsyncInterceptor
,DefaultFindAllInterceptor
,DefaultFindAllReactiveInterceptor
,DefaultFindByIdAsyncInterceptor
,DefaultFindByIdInterceptor
,DefaultFindByIdReactiveInterceptor
,DefaultFindOneAsyncInterceptor
,DefaultFindOneInterceptor
,DefaultFindOneReactiveInterceptor
,DefaultFindOptionalInterceptor
,DefaultFindPageAsyncInterceptor
,DefaultFindPageInterceptor
,DefaultFindPageReactiveInterceptor
,DefaultFindSliceAsyncInterceptor
,DefaultFindSliceInterceptor
,DefaultFindSliceReactiveInterceptor
,DefaultFindStreamInterceptor
,DefaultSaveAllAsyncInterceptor
,DefaultSaveAllInterceptor
,DefaultSaveAllReactiveInterceptor
,DefaultSaveEntityInterceptor
,DefaultSaveEntityInterceptor
,DefaultSaveEntityReactiveInterceptor
,DefaultSaveOneAsyncInterceptor
,DefaultSaveOneInterceptor
,DefaultSaveOneReactiveInterceptor
,DefaultUpdateAllAsyncEntitiesInterceptor
,DefaultUpdateAllEntitiesInterceptor
,DefaultUpdateAllEntitiesReactiveInterceptor
,DefaultUpdateAsyncInterceptor
,DefaultUpdateEntityAsyncInterceptor
,DefaultUpdateEntityInterceptor
,DefaultUpdateEntityReactiveInterceptor
,DefaultUpdateInterceptor
,DefaultUpdateReactiveInterceptor
,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
-