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:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.fragment.Fragment
Fragment.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BeanMethodModelHelperprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected JmixComboBox<String>protected TypedTextField<String>protected JmixSelect<BusinessKeySource>protected JmixComboBox<String>protected JmixComboBox<String>protected InstanceContainer<FormDataModel>protected CollectionPropertyContainer<FormFieldModel>protected Messagesprotected Metadataprotected JmixComboBox<MethodInfo>protected BpmnModelerprotected HasFormDataprotected JmixComboBox<String>protected static final Stringprotected static final StringFields inherited from class io.jmix.flowui.fragment.Fragment
fragmentActions, fragmentData, parentController, uiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildEntityVariableAttributeExpression(String attributeName) protected StringextractBeanNameFromExpression(String beanMethodCallExpression) protected StringextractEntityAttribute(String businessKey) protected StringextractEntityVariable(String businessKey) protected FormFieldModelfindEntityFormField(String entityVariable) protected StringfindEntityName(FormFieldModel entityField) protected Stream<JmixComboBox<String>>protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) voidinit()protected voidprotected voidprotected voidprotected voidinitEntityAttributeLookupOptions(String entityVariable) protected voidprotected voidinitMethodArgumentsGroupBox(String beanName, List<BeanMethodParamModel> beanMethodParamModels) protected voidvoidonBeanNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) protected voidonBusinessKeyExpressionFieldTypedValueChange(SupportsTypedValue.TypedValueChangeEvent<TypedTextField<String>, String> event) protected voidonBusinessKeySourceFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<BusinessKeySource>, BusinessKeySource> event) protected voidonEntityAttributeLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) protected voidonEntityVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) protected voidvoidonProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) voidonProcessVariableLookupCustomValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) voidonUserProviderMethodNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<MethodInfo>, MethodInfo> event) voidsetModeler(BpmnModeler modeler) voidsetParentModelElement(HasFormData parentModelElement) protected voidupdateBusinessKeySpringBeanDetails(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) voidprotected voidupdateFieldsVisibility(BusinessKeySource businessKeySource) protected voidvoidMethods inherited from class io.jmix.flowui.fragment.Fragment
addReadyListener, findInnerComponent, getFragmentActions, getFragmentData, getInnerComponent, getParentController, initContent, onAttach, onDetach, setFragmentActions, setFragmentData, setParentController, setUiComponentsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
TYPE_ENTITY
- See Also:
-
PROPERTY_ENTITY_NAME
- See Also:
-
messages
-
metadata
-
beanMethodModelHelper
-
formDataDc
-
formFieldsDc
-
businessKeySourceField
-
processVariableLookup
-
entityVariableLookup
-
entityAttributeLookup
-
businessKeyExpressionField
-
beanNameLookup
-
methodNameLookup
-
beanMethodParamsBox
-
parentModelElement
-
modeler
-
-
Constructor Details
-
InputDialogBusinessKeyFragment
public InputDialogBusinessKeyFragment()
-
-
Method Details
-
setModeler
-
setParentModelElement
-
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
-
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
-
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
-
findEntityName
-
findEntityFormField
-
buildEntityVariableAttributeExpression
-
extractEntityVariable
-
extractEntityAttribute
-
extractBeanNameFromExpression
-
getFormFieldIds
-