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 count of all records.DataInterceptor<T,
R> Marker interface for all Data related interceptors.An interceptor that executes a batch delete.An interceptor that executes a batch delete.Interceptor that deletes a single entity.Implements delete returning many results interceptor.Implements delete returning one result interceptor.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 handles a return type ofCursoredPage
.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
.Implements insert returning many results interceptor.Implements insert returning one result interceptor.An interceptor that returns an iterable result.An interceptor that does execute the procedure and returns one result.An interceptor that does execute the procedure and returns one 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.Implements update returning many results interceptor.Implements update returning one result interceptor.