Package io.jmix.bpmflowui.util
Class BeanMethodModelHelper
java.lang.Object
io.jmix.bpmflowui.util.BeanMethodModelHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildCallSpringBeanMethodExpression
(String beanName, String methodName, List<BeanMethodParamModel> methodParams) getBeanMethodParamModels
(MethodInfo methodInfo) getBeanMethodParamModels
(String springBeanName, MethodInfo methodInfo, List<BeanMethodModel> beanMethods) getBeanMethodsWithSignature
(String beanName) getInitialMethodInfo
(BeanMethodModel beanMethodModel) 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) void
initBeanMethodParamsGroupBox
(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) void
initSpringBeanFields
(JmixComboBox<MethodInfo> methodNameField, com.vaadin.flow.component.orderedlayout.VerticalLayout methodParamsBox, String springBeanName, List<BeanMethodModel> beanMethods) protected boolean
isIsVarCheckboxEditable
(String typeName) protected boolean
needToWrapMethodParamValueWithApostrophes
(BeanMethodParamModel methodParamModel)
-
Field Details
-
editableIsVarTypes
-
-
Constructor Details
-
BeanMethodModelHelper
public BeanMethodModelHelper()
-
-
Method Details
-
getInitialMethodInfo
-
getBeanMethodsWithSignature
-
getBeanMethodParamModels
public List<BeanMethodParamModel> getBeanMethodParamModels(String springBeanName, MethodInfo methodInfo, @Nullable List<BeanMethodModel> beanMethods) -
getBeanMethodParamModels
-
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
-
needToWrapMethodParamValueWithApostrophes
-
getAvailableBeans
-