Class DynamicAttributeModelDetailView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
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, FacetOwner, FragmentOwner, ChangeTracker, DetailView<DynamicAttributeModel>, HasEditedEntity<DynamicAttributeModel>, ReadOnlyAwareView, ReadOnlyTracker, SupportEntityLock<DynamicAttributeModel>, Serializable

@DialogMode(width="540px", height="720px", resizable=true) @ViewController(id="dynmod_Attribute.detail") @ViewDescriptor(path="dynamic-attribute-model-detail-view.xml") public class DynamicAttributeModelDetailView extends StandardDetailView<DynamicAttributeModel>
See Also:
  • Constructor Details

    • DynamicAttributeModelDetailView

      public DynamicAttributeModelDetailView()
  • Method Details

    • setParentEntity

      public void setParentEntity(@Nullable DynamicEntityModel entity)
    • setExistingAttributeKeys

      public void setExistingAttributeKeys(Set<String> existingAttributeKeys)
    • setModelDefinition

      public void setModelDefinition(@Nullable DynamicModelDefinitionModel modelDefinition)
      Configured by the parent settings view through viewConfigurer to surface dynamic enums and entities declared in the same model graph in the enumeration and entityName combos.
    • onInit

      @Subscribe public void onInit(View.InitEvent event)
    • onBeforeShow

      @Subscribe public void onBeforeShow(View.BeforeShowEvent event)
    • onReady

      @Subscribe public void onReady(View.ReadyEvent event)
    • onDynamicAttributeModelDcItemPropertyChange

      @Subscribe(id="dynamicAttributeModelDc", target=DATA_CONTAINER) public void onDynamicAttributeModelDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<DynamicAttributeModel> event)
    • onViewRolesFieldValueChange

      @Subscribe("viewRolesField") public void onViewRolesFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixMultiSelectComboBox<String>,Set<String>> event)
    • onModifyRolesFieldValueChange

      @Subscribe("modifyRolesField") public void onModifyRolesFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixMultiSelectComboBox<String>,Set<String>> event)
    • onBeforeSave

      @Subscribe public void onBeforeSave(StandardDetailView.BeforeSaveEvent event)
    • applyIndexedByApplicationState

      protected void applyIndexedByApplicationState(boolean indexedByApplication)
      Shows an attribute the application's own index definition already indexes as searchable and not editable, with the reason as the checkbox tooltip. The checkbox is unbound while in that state, so the stored flag is untouched.
    • isIndexedByApplicationDefinition

      protected boolean isIndexedByApplicationDefinition()
      Whether Search indexes this attribute because of an index definition declared by the application, where the searchable flag makes no difference. Answered only when the Search add-on is present.
    • isSearchAddonPresent

      protected boolean isSearchAddonPresent()
    • onDynamicAttributeModelDcItemChange

      @Subscribe(id="dynamicAttributeModelDc", target=DATA_CONTAINER) public void onDynamicAttributeModelDcItemChange(InstanceContainer.ItemChangeEvent<DynamicAttributeModel> event)