Interface EntityOperation<E>

Type Parameters:
E - The entity type
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.attr.AttributeHolder, io.micronaut.core.naming.Named, PreparedDataOperation<E>, StoredDataOperation<E>
All Known Subinterfaces:
BatchOperation<E>, DeleteBatchOperation<E>, DeleteOperation<E>, EntityInstanceOperation<E>, InsertBatchOperation<E>, InsertOperation<E>, UpdateBatchOperation<E>, UpdateOperation<E>

public interface EntityOperation<E> extends io.micronaut.core.naming.Named, PreparedDataOperation<E>
An operation on an entity type.
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable io.micronaut.aop.InvocationContext<?,?>
     
    @NonNull Class<?>
     
    @NonNull Class<E>
    The root entity type.
    @Nullable StoredQuery<E,?>
    Possible stored query if exists.

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.core.attr.AttributeHolder

    getAttribute, getAttribute, getAttributes

    Methods inherited from interface io.micronaut.core.naming.Named

    getName

    Methods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation

    getParameterInRole

    Methods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation

    getResultArgument
  • Method Details

    • getRootEntity

      @NonNull @NonNull Class<E> getRootEntity()
      The root entity type.
      Returns:
      The root entity type
    • getRepositoryType

      @NonNull @NonNull Class<?> getRepositoryType()
      Returns:
      The repository type.
    • getStoredQuery

      @Nullable @Nullable StoredQuery<E,?> getStoredQuery()
      Possible stored query if exists.
      Returns:
      The stored query
    • getInvocationContext

      @Nullable @Nullable io.micronaut.aop.InvocationContext<?,?> getInvocationContext()
      Returns:
      The invocation context