Package io.micronaut.data.intercept
Interfaces for Micronaut Data method interceptors implement.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Interface Summary Interface Description CountInterceptor<T> An interceptor that executes a a count of all records.DataInterceptor<T,R> Marker interface for all Data related interceptors.DeleteAllInterceptor<T> An interceptor that executes a batch delete.DeleteOneInterceptor<T> Interceptor that deletes a single entity.ExistsByInterceptor<T> An interceptor that checks for the existence of a record.FindAllInterceptor<T,R> An interceptor that doesn't execute a query but instead just lists all the results.FindByIdInterceptor<T> An interceptor that finds an entity by ID.FindOneInterceptor<T> An interceptor that executes aQuery
and returns a single entity result.FindOptionalInterceptor<T> An interceptor that executes aQuery
and returns an optional single entity result.FindPageInterceptor<T,R> An interceptor that handles a return type ofPage
.FindSliceInterceptor<T,R> An interceptor that handles a return type ofSlice
.FindStreamInterceptor<T> An interceptor that executes aQuery
and returns aStream
of results.IterableResultInterceptor<T,R> An interceptor that returns an iterable result.SaveAllInterceptor<T,R> Interface for the interceptor that handles saving a list or iterable of objects.SaveEntityInterceptor<T> An interceptor that accepts a single entity to be saved and returns either the entity or nothing.SaveOneInterceptor<T> An interceptor that accepts a single entity to be saved and returns either the entity or nothing.UpdateAllEntitiesInterceptor<T,R> Interface for the interceptor that handles updating a list or iterable of objects.UpdateEntityInterceptor<T> Interceptor that handles update methods that take a single argument that is the entity.UpdateInterceptor<T> Implements update with lookup by id. -
Class Summary Class Description DataIntroductionAdvice The root Data introduction advice, which simply delegates to an appropriate interceptor declared in theio.micronaut.data.intercept
package.RepositoryMethodKey Key used to cache results for repository method invocations.