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:
io.micronaut.data.intercept.DataInterceptor<T,,Object> io.micronaut.data.intercept.FindByIdInterceptor<T>
public class DefaultFindByIdInterceptor<T>
extends AbstractQueryInterceptor<T,Object>
implements io.micronaut.data.intercept.FindByIdInterceptor<T>
Default implementation that handles lookup by ID.
-
Field Summary
Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsConstructorDescriptionDefaultFindByIdInterceptor(@NonNull io.micronaut.data.operations.RepositoryOperations datastore) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
-
Constructor Details
-
DefaultFindByIdInterceptor
public DefaultFindByIdInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations datastore) Default constructor.- Parameters:
datastore- The operations
-
-
Method Details