Class BulkEditView<E>

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.bulkeditor.view.BulkEditView<E>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, Serializable

@ViewController("bulkEditorWindow") @ViewDescriptor("bulk-edit-view.xml") @Route("bulk-edit") @DialogMode(resizable=true, width="64em", height="48em", minWidth="18em") public class BulkEditView<E> extends StandardView
See Also:
  • Field Details

  • Constructor Details

    • BulkEditView

      public BulkEditView()
  • Method Details

    • onBeforeShow

      @Subscribe protected void onBeforeShow(View.BeforeShowEvent event)
    • setBulkEditorContext

      public void setBulkEditorContext(BulkEditViewContext<E> context)
    • createFetchPlan

      protected FetchPlan createFetchPlan(MetaClass metaClass, Collection<String> managedEmbeddedProperties)
    • isTenantMetaProperty

      protected boolean isTenantMetaProperty(MetaProperty metaProperty)
    • addFetchPlanProperties

      protected void addFetchPlanProperties(FetchPlanBuilder builder, MetaProperty metaProperty, String fqn)
    • createEmbeddedFetchPlan

      protected FetchPlan createEmbeddedFetchPlan(MetaClass metaClass, String fqnPrefix)
    • loadItems

      protected void loadItems()
    • createDataComponents

      protected void createDataComponents()
    • createManagedFieldComparator

      protected Comparator<BulkEditViewManagedField> createManagedFieldComparator(List<BulkEditViewManagedField> editFields)
    • createFieldComponent

      protected com.vaadin.flow.component.Component createFieldComponent(BulkEditViewManagedField managedField)
    • createField

      protected com.vaadin.flow.component.AbstractField<?,?> createField(BulkEditViewManagedField managedField)
    • getBeanPropertyValidator

      @Nullable protected BulkEditViewBeanPropertyValidator getBeanPropertyValidator(MetaProperty metaProperty)
    • isFieldRequired

      protected boolean isFieldRequired(BulkEditViewManagedField managedField)
    • createClearButton

      protected JmixButton createClearButton(com.vaadin.flow.component.AbstractField<?,?> field, boolean isFieldRequired)
    • createClearButtonClickListener

      protected com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> createClearButtonClickListener(com.vaadin.flow.component.AbstractField<?,?> editField)
    • focusFirstPossibleField

      protected void focusFirstPossibleField(Map<String,com.vaadin.flow.component.AbstractField<?,?>> dataFields)
    • onBeforeClose

      @Subscribe protected void onBeforeClose(View.BeforeCloseEvent event)
    • preventUnsavedChanges

      protected void preventUnsavedChanges(View.BeforeCloseEvent event)
    • hasChanges

      protected boolean hasChanges()
    • isFieldChanged

      protected boolean isFieldChanged(com.vaadin.flow.component.AbstractField<?,?> field)
    • closeWithDiscard

      public OperationResult closeWithDiscard()
    • onApplyChanges

      @Subscribe("applyChanges") protected void onApplyChanges(ActionPerformedEvent event)
    • closeWithCommit

      public void closeWithCommit()
    • validateUiComponents

      protected ValidationErrors validateUiComponents()
    • applyModelValidators

      protected void applyModelValidators(ValidationErrors errors)
    • updateItemValues

      protected void updateItemValues()
    • ensureEmbeddedPropertyCreated

      protected void ensureEmbeddedPropertyCreated(E item, String propertyPath)
    • showConfirmDialogOrCommit

      protected void showConfirmDialogOrCommit(List<String> fields)
    • commitBulkChanges

      protected void commitBulkChanges()