Class InputDialogBusinessKeyFragment

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.fragment.Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.bpmflowui.view.modeler.properties.formdata.InputDialogBusinessKeyFragment
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, FragmentOwner, Serializable

public class InputDialogBusinessKeyFragment extends Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
See Also:
  • Field Details

  • Constructor Details

    • InputDialogBusinessKeyFragment

      public InputDialogBusinessKeyFragment()
  • Method Details

    • setModeler

      public void setModeler(BpmnModeler modeler)
    • setParentModelElement

      public void setParentModelElement(HasFormData parentModelElement)
    • init

      public void init()
    • updateComponentsVisibility

      public void updateComponentsVisibility()
    • updateVariableLookupOptions

      public void updateVariableLookupOptions()
    • onBusinessKeySourceFieldComponentValueChange

      @Subscribe("businessKeySourceField") protected void onBusinessKeySourceFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<BusinessKeySource>,BusinessKeySource> event)
    • onBeanNameLookupComponentValueChange

      @Subscribe("beanNameLookup") public void onBeanNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>,String> event)
    • onUserProviderMethodNameLookupComponentValueChange

      @Subscribe("methodNameLookup") public void onUserProviderMethodNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<MethodInfo>,MethodInfo> event)
    • onBusinessKeyExpressionFieldTypedValueChange

      @Subscribe("businessKeyExpressionField") protected void onBusinessKeyExpressionFieldTypedValueChange(SupportsTypedValue.TypedValueChangeEvent<TypedTextField<String>,String> event)
    • onFormDataDcItemPropertyChange

      @Subscribe(id="formDataDc", target=DATA_CONTAINER) protected void onFormDataDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<FormDataModel> event)
    • onEntityVariableLookupComponentValueChange

      @Subscribe("entityVariableLookup") protected void onEntityVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>,String> event)
    • onEntityAttributeLookupComponentValueChange

      @Subscribe("entityAttributeLookup") protected void onEntityAttributeLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>,String> event)
    • onProcessVariableLookupCustomValueSet

      @Subscribe("processVariableLookup") public void onProcessVariableLookupCustomValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event)
    • onProcessVariableLookupComponentValueChange

      @Subscribe("processVariableLookup") public void onProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>,String> event)
    • initBusinessKeySourceSelect

      protected void initBusinessKeySourceSelect()
    • updateFieldsVisibility

      protected void updateFieldsVisibility(BusinessKeySource businessKeySource)
    • updateBusinessKeySpringBeanDetails

      protected void updateBusinessKeySpringBeanDetails(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels)
    • initProcessVariableLookupOptions

      protected void initProcessVariableLookupOptions()
    • initEntityVariableLookupOptions

      protected void initEntityVariableLookupOptions()
    • initBeanNameLookup

      protected void initBeanNameLookup()
    • updateMethodParamLookupOptions

      protected void updateMethodParamLookupOptions()
    • getParamComboBoxStream

      protected Stream<JmixComboBox<String>> getParamComboBoxStream()
    • initMethodArgumentsGroupBox

      protected void initMethodArgumentsGroupBox(String beanName, List<BeanMethodParamModel> beanMethodParamModels)
    • getValueChangeEventConsumer

      protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent<?>> getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels)
    • initBusinessKeyExpressionField

      protected void initBusinessKeyExpressionField()
    • initEntityAttributeLookupOptions

      protected void initEntityAttributeLookupOptions(String entityVariable)
    • findEntityName

      @Nullable protected String findEntityName(FormFieldModel entityField)
    • findEntityFormField

      @Nullable protected FormFieldModel findEntityFormField(@Nullable String entityVariable)
    • buildEntityVariableAttributeExpression

      protected String buildEntityVariableAttributeExpression(String attributeName)
    • extractEntityVariable

      protected String extractEntityVariable(String businessKey)
    • extractEntityAttribute

      protected String extractEntityAttribute(String businessKey)
    • extractBeanNameFromExpression

      @Nullable protected String extractBeanNameFromExpression(String beanMethodCallExpression)
    • getFormFieldIds

      protected List<String> getFormFieldIds()