Class BeanMethodModelHelper

java.lang.Object
io.jmix.bpmflowui.util.BeanMethodModelHelper

@Component("bpm_BeanMethodModelHelper") public class BeanMethodModelHelper extends Object
  • Field Details

    • editableIsVarTypes

      protected List<String> editableIsVarTypes
  • Constructor Details

    • BeanMethodModelHelper

      public BeanMethodModelHelper()
  • Method Details

    • getInitialMethodInfo

      @Nullable public MethodInfo getInitialMethodInfo(@Nullable BeanMethodModel beanMethodModel)
    • getBeanMethodsWithSignature

      public Map<String,MethodInfo> getBeanMethodsWithSignature(@Nullable String beanName)
    • getBeanMethodParamModels

      public List<BeanMethodParamModel> getBeanMethodParamModels(String springBeanName, MethodInfo methodInfo, @Nullable List<BeanMethodModel> beanMethods)
    • getBeanMethodParamModels

      public List<BeanMethodParamModel> getBeanMethodParamModels(MethodInfo methodInfo)
    • initSpringBeanFields

      public void initSpringBeanFields(JmixComboBox<MethodInfo> methodNameField, com.vaadin.flow.component.orderedlayout.VerticalLayout methodParamsBox, @Nullable String springBeanName, @Nullable List<BeanMethodModel> beanMethods)
    • initBeanMethodParamsGroupBox

      public void initBeanMethodParamsGroupBox(com.vaadin.flow.component.orderedlayout.VerticalLayout beanMethodParamsBox, List<BeanMethodParamModel> beanMethodParamModels, Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent> methodVariableChangeListener, Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent> methodVariableIsVarChangeListener)
    • initBeanMethodParamsGroupBox

      public void initBeanMethodParamsGroupBox(@Nullable String labelValue, com.vaadin.flow.component.orderedlayout.VerticalLayout beanMethodParamsBox, List<BeanMethodParamModel> beanMethodParamModels, Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent> methodVariableChangeListener, Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent> methodVariableIsVarChangeListener)
    • buildCallSpringBeanMethodExpression

      @Nullable public String buildCallSpringBeanMethodExpression(String beanName, String methodName, List<BeanMethodParamModel> methodParams)
    • isIsVarCheckboxEditable

      protected boolean isIsVarCheckboxEditable(String typeName)
    • needToWrapMethodParamValueWithApostrophes

      protected boolean needToWrapMethodParamValueWithApostrophes(BeanMethodParamModel methodParamModel)
    • getAvailableBeans

      public Map<String,List<MethodInfo>> getAvailableBeans()