Class FindOneSpecificationInterceptor

java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<Object,Object>
io.micronaut.data.jpa.repository.intercept.AbstractSpecificationInterceptor<Object,Object>
io.micronaut.data.jpa.repository.intercept.FindOneSpecificationInterceptor
All Implemented Interfaces:
io.micronaut.data.intercept.DataInterceptor<Object,Object>

@Internal public class FindOneSpecificationInterceptor extends AbstractSpecificationInterceptor<Object,Object>
Implementation of findOne(Specification) for JPA specifications.
Since:
3.1
  • Field Summary

    Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor

    conversionService, operations, preparedQueryResolver
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FindOneSpecificationInterceptor(@NonNull io.micronaut.data.operations.RepositoryOperations operations)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    intercept(io.micronaut.data.intercept.RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Object> context)
     

    Methods inherited from class io.micronaut.data.jpa.repository.intercept.AbstractSpecificationInterceptor

    getOrders, getSpecification

    Methods inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor

    convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getDeleteReturningBatchOperation, getDeleteReturningOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getLimit, getOffset, getPageable, getPageableInRole, getPagedQuery, getParameterInRole, getParametersInRole, getParameterValueMap, getRequiredEntity, getRequiredParameterInRole, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, validateNullArguments

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FindOneSpecificationInterceptor

      protected FindOneSpecificationInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • intercept

      public Object intercept(io.micronaut.data.intercept.RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Object> context)