Package io.jmix.bpmui.util
Class BeanMethodModelHelper
java.lang.Object
io.jmix.bpmui.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
(GroupBoxLayout beanMethodParamsBox, List<BeanMethodParamModel> beanMethodParamModels, Consumer<HasValue.ValueChangeEvent<String>> methodVariableChangeListener, Consumer<HasValue.ValueChangeEvent<Boolean>> methodVariableIsVarChangeListener) void
initSpringBeanFields
(ComboBox<MethodInfo> methodNameField, GroupBoxLayout 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(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
-