Package io.jmix.bpmui.util
Class BeanMethodModelHelper
java.lang.Object
io.jmix.bpmui.util.BeanMethodModelHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
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) voidinitBeanMethodParamsGroupBox(GroupBoxLayout beanMethodParamsBox, List<BeanMethodParamModel> beanMethodParamModels, Consumer<HasValue.ValueChangeEvent<String>> methodVariableChangeListener, Consumer<HasValue.ValueChangeEvent<Boolean>> methodVariableIsVarChangeListener) voidinitSpringBeanFields(ComboBox<MethodInfo> methodNameField, GroupBoxLayout methodParamsBox, String springBeanName, List<BeanMethodModel> beanMethods) protected booleanisIsVarCheckboxEditable(String typeName) protected booleanneedToWrapMethodParamValueWithApostrophes(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(ComboBox<MethodInfo> methodNameField, GroupBoxLayout methodParamsBox, @Nullable String springBeanName, @Nullable List<BeanMethodModel> beanMethods) -
initBeanMethodParamsGroupBox
public void initBeanMethodParamsGroupBox(GroupBoxLayout beanMethodParamsBox, List<BeanMethodParamModel> beanMethodParamModels, Consumer<HasValue.ValueChangeEvent<String>> methodVariableChangeListener, Consumer<HasValue.ValueChangeEvent<Boolean>> methodVariableIsVarChangeListener) -
buildCallSpringBeanMethodExpression
@Nullable public String buildCallSpringBeanMethodExpression(String beanName, String methodName, List<BeanMethodParamModel> methodParams) -
isIsVarCheckboxEditable
-
needToWrapMethodParamValueWithApostrophes
-
getAvailableBeans
-