Class DefaultFindByIdInterceptor<T>

java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,Object>
io.micronaut.data.runtime.intercept.DefaultFindByIdInterceptor<T>
Type Parameters:
T - The declaring type.
All Implemented Interfaces:
DataInterceptor<T,Object>, FindByIdInterceptor<T>

public class DefaultFindByIdInterceptor<T> extends AbstractQueryInterceptor<T,Object> implements FindByIdInterceptor<T>
Default implementation that handles lookup by ID.
  • Constructor Details

    • DefaultFindByIdInterceptor

      public DefaultFindByIdInterceptor(@NonNull @NonNull RepositoryOperations datastore)
      Default constructor.
      Parameters:
      datastore - The operations
  • Method Details