Package io.micronaut.data.intercept
package io.micronaut.data.intercept
Interfaces for Micronaut Data method interceptors implement.
- Since:
- 1.0.0
- Author:
- graemerocher
-
ClassDescriptionAn interceptor that executes a a count of all records.DataInterceptor<T,
R> Marker interface for all Data related interceptors.An interceptor that executes a batch delete.Interceptor that deletes a single entity.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.An interceptor that finds an entity by ID.An interceptor that executes aQuery
and returns a single entity result.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
.An interceptor that returns an iterable result.Key used to cache results for repository method invocations.SaveAllInterceptor<T,R> Interface for the interceptor that handles saving a list or iterable of objects.An interceptor that accepts a single entity to be saved and returns either the entity or nothing.An interceptor that accepts a single entity to be saved and returns either the entity or nothing.Interface for the interceptor that handles updating a list or iterable of objects.Interceptor that handles update methods that take a single argument that is the entity.Implements update with lookup by id.