Class AbstractMethodsAdder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.jboss.jandex.DotName createSimpleInterfaceImpl​(org.jboss.jandex.DotName ifaceName, org.jboss.jandex.DotName entityName)  
      protected void generateFindQueryResultHandling​(io.quarkus.gizmo.MethodCreator methodCreator, io.quarkus.gizmo.ResultHandle panacheQuery, Integer pageableParameterIndex, org.jboss.jandex.ClassInfo repositoryClassInfo, org.jboss.jandex.ClassInfo entityClassInfo, org.jboss.jandex.DotName returnType, Integer limit, String methodName, org.jboss.jandex.DotName customResultType, String originalResultType)  
      protected org.jboss.jandex.DotName getPrimitiveTypeName​(org.jboss.jandex.DotName returnTypeName)  
      protected void handleBooleanReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle resultHandle, org.jboss.jandex.DotName returnType)  
      protected void handleClearAutomatically​(org.jboss.jandex.AnnotationInstance modifyingAnnotation, io.quarkus.gizmo.MethodCreator methodCreator, io.quarkus.gizmo.FieldDescriptor entityClassFieldDescriptor)
      Clear the underlying persistence context after executing the modifying query if enabled by Modifying annotation.
      protected void handleFlushAutomatically​(org.jboss.jandex.AnnotationInstance modifyingAnnotation, io.quarkus.gizmo.MethodCreator methodCreator, io.quarkus.gizmo.FieldDescriptor entityClassFieldDescriptor)
      Flush the underlying persistence context before executing the modifying query if enabled by Modifying annotation.
      protected void handleIntegerReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle resultHandle, org.jboss.jandex.DotName returnType)  
      protected void handleLongReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle resultHandle, org.jboss.jandex.DotName returnType)  
      protected boolean isHibernateSupportedReturnType​(org.jboss.jandex.DotName dotName)  
      protected org.jboss.jandex.Type verifyQueryResultType​(org.jboss.jandex.Type t, org.jboss.jandex.IndexView index)  
    • Constructor Detail

      • AbstractMethodsAdder

        public AbstractMethodsAdder()
    • Method Detail

      • handleLongReturnValue

        protected void handleLongReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator,
                                             io.quarkus.gizmo.ResultHandle resultHandle,
                                             org.jboss.jandex.DotName returnType)
      • handleIntegerReturnValue

        protected void handleIntegerReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator,
                                                io.quarkus.gizmo.ResultHandle resultHandle,
                                                org.jboss.jandex.DotName returnType)
      • handleBooleanReturnValue

        protected void handleBooleanReturnValue​(io.quarkus.gizmo.BytecodeCreator methodCreator,
                                                io.quarkus.gizmo.ResultHandle resultHandle,
                                                org.jboss.jandex.DotName returnType)
      • generateFindQueryResultHandling

        protected void generateFindQueryResultHandling​(io.quarkus.gizmo.MethodCreator methodCreator,
                                                       io.quarkus.gizmo.ResultHandle panacheQuery,
                                                       Integer pageableParameterIndex,
                                                       org.jboss.jandex.ClassInfo repositoryClassInfo,
                                                       org.jboss.jandex.ClassInfo entityClassInfo,
                                                       org.jboss.jandex.DotName returnType,
                                                       Integer limit,
                                                       String methodName,
                                                       org.jboss.jandex.DotName customResultType,
                                                       String originalResultType)
      • handleFlushAutomatically

        protected void handleFlushAutomatically​(org.jboss.jandex.AnnotationInstance modifyingAnnotation,
                                                io.quarkus.gizmo.MethodCreator methodCreator,
                                                io.quarkus.gizmo.FieldDescriptor entityClassFieldDescriptor)
        Flush the underlying persistence context before executing the modifying query if enabled by Modifying annotation.
      • handleClearAutomatically

        protected void handleClearAutomatically​(org.jboss.jandex.AnnotationInstance modifyingAnnotation,
                                                io.quarkus.gizmo.MethodCreator methodCreator,
                                                io.quarkus.gizmo.FieldDescriptor entityClassFieldDescriptor)
        Clear the underlying persistence context after executing the modifying query if enabled by Modifying annotation.
      • isHibernateSupportedReturnType

        protected boolean isHibernateSupportedReturnType​(org.jboss.jandex.DotName dotName)
      • verifyQueryResultType

        protected org.jboss.jandex.Type verifyQueryResultType​(org.jboss.jandex.Type t,
                                                              org.jboss.jandex.IndexView index)
      • createSimpleInterfaceImpl

        protected org.jboss.jandex.DotName createSimpleInterfaceImpl​(org.jboss.jandex.DotName ifaceName,
                                                                     org.jboss.jandex.DotName entityName)
      • getPrimitiveTypeName

        protected org.jboss.jandex.DotName getPrimitiveTypeName​(org.jboss.jandex.DotName returnTypeName)