@Component(value="bpm_BeanMethodModelHelper")
public class BeanMethodModelHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
editableIsVarTypes |
Constructor and Description |
---|
BeanMethodModelHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildCallSpringBeanMethodExpression(java.lang.String beanName,
java.lang.String methodName,
java.util.List<BeanMethodParamModel> methodParams) |
java.util.Map<java.lang.String,java.util.List<MethodInfo>> |
getAvailableBeans() |
java.util.List<BeanMethodParamModel> |
getBeanMethodParamModels(MethodInfo methodInfo) |
java.util.List<BeanMethodParamModel> |
getBeanMethodParamModels(java.lang.String providerBeanName,
MethodInfo methodInfo,
java.util.List<BeanMethodModel> beanMethods) |
java.util.Map<java.lang.String,MethodInfo> |
getBeanMethodsWithSignature(java.lang.String beanName) |
MethodInfo |
getInitialMethodInfo(BeanMethodModel beanMethodModel) |
void |
initBeanMethodParamsGroupBox(io.jmix.ui.component.GroupBoxLayout beanMethodParamsBox,
java.util.List<BeanMethodParamModel> beanMethodParamModels,
java.util.function.Consumer<io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.String>> methodVariableChangeListener,
java.util.function.Consumer<io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.Boolean>> methodVariableIsVarChangeListener) |
void |
initProviderBeanFields(io.jmix.ui.component.ComboBox<MethodInfo> providerMethodNameField,
io.jmix.ui.component.GroupBoxLayout providerMethodParamsBox,
java.lang.String providerBeanName,
java.util.List<BeanMethodModel> beanMethods) |
protected boolean |
isIsVarCheckboxEditable(java.lang.String typeName) |
protected boolean |
needToWrapMethodParamValueWithApostrophes(BeanMethodParamModel methodParamModel) |
@Nullable public MethodInfo getInitialMethodInfo(@Nullable BeanMethodModel beanMethodModel)
public java.util.Map<java.lang.String,MethodInfo> getBeanMethodsWithSignature(@Nullable java.lang.String beanName)
public java.util.List<BeanMethodParamModel> getBeanMethodParamModels(java.lang.String providerBeanName, MethodInfo methodInfo, @Nullable java.util.List<BeanMethodModel> beanMethods)
public java.util.List<BeanMethodParamModel> getBeanMethodParamModels(MethodInfo methodInfo)
public void initProviderBeanFields(io.jmix.ui.component.ComboBox<MethodInfo> providerMethodNameField, io.jmix.ui.component.GroupBoxLayout providerMethodParamsBox, @Nullable java.lang.String providerBeanName, @Nullable java.util.List<BeanMethodModel> beanMethods)
public void initBeanMethodParamsGroupBox(io.jmix.ui.component.GroupBoxLayout beanMethodParamsBox, java.util.List<BeanMethodParamModel> beanMethodParamModels, java.util.function.Consumer<io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.String>> methodVariableChangeListener, java.util.function.Consumer<io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.Boolean>> methodVariableIsVarChangeListener)
@Nullable public java.lang.String buildCallSpringBeanMethodExpression(java.lang.String beanName, java.lang.String methodName, java.util.List<BeanMethodParamModel> methodParams)
protected boolean isIsVarCheckboxEditable(java.lang.String typeName)
protected boolean needToWrapMethodParamValueWithApostrophes(BeanMethodParamModel methodParamModel)
public java.util.Map<java.lang.String,java.util.List<MethodInfo>> getAvailableBeans()