Class EntityLogView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, 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, LookupView<EntityLogItem>, MultiSelectLookupView, Serializable

@Route(value="audit/entitylog", layout=DefaultMainViewParent.class) @ViewController("entityLog.view") @ViewDescriptor("entity-log-view.xml") @DialogMode(width="50em", height="37.5em") public class EntityLogView extends StandardListView<EntityLogItem>
See Also:
  • Field Details

  • Constructor Details

    • EntityLogView

      public EntityLogView()
  • Method Details

    • onSelectedTabChange

      protected void onSelectedTabChange(com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent event)
    • getTillDateTime

      protected LocalDateTime getTillDateTime()
    • getFromDateTime

      protected LocalDateTime getFromDateTime()
    • onInit

      @Subscribe protected void onInit(View.InitEvent event)
    • generateAttributeColumn

      protected Object generateAttributeColumn(EntityLogAttr entityLogAttr)
    • generateEntityInstanceNameColumn

      protected Object generateEntityInstanceNameColumn(EntityLogItem entityLogItem)
    • generateEntityIdColumn

      protected Object generateEntityIdColumn(EntityLogItem entityLogItem)
    • evaluateEntityLogItemDisplayedEntityName

      protected String evaluateEntityLogItemDisplayedEntityName(EntityLogItem entityLogItem)
    • evaluateEntityLogItemAttrDisplayValue

      protected String evaluateEntityLogItemAttrDisplayValue(EntityLogAttr entityLogAttr, String value)
    • getClassFromEntityName

      @Nullable protected MetaClass getClassFromEntityName(String entityName)
    • getEnumById

      protected Enum getEnumById(List<Enum> enums, String id)
    • onLoggedEntityTableSelectEvent

      protected void onLoggedEntityTableSelectEvent(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<LoggedEntity>,LoggedEntity> event)
    • onFilterEntityNameFieldComboBoxValueChange

      @Subscribe("filterEntityNameField") protected void onFilterEntityNameFieldComboBoxValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>,String> event)
    • onEntityLogTableSelect

      protected void onEntityLogTableSelect(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<EntityLogItem>,EntityLogItem> event1)
    • onAttributesCheckboxGroupValueChange

      @Subscribe("attributesCheckboxGroup") protected void onAttributesCheckboxGroupValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<String>,Set<String>> event)
    • onSelectAllCheckBoxChange

      @Subscribe("selectAllCheckBox") protected void onSelectAllCheckBoxChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox,Boolean> event)
    • onEntityNameFieldChange

      @Subscribe("entityNameField") protected void onEntityNameFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>,String> event)
    • getEntityMetaClasses

      protected TreeMap<String,String> getEntityMetaClasses()
    • enableControls

      protected void enableControls()
    • disableControls

      protected void disableControls()
    • fillAttributes

      protected void fillAttributes(String metaClassName, LoggedEntity item, boolean editable)
    • attributeIsSelected

      protected boolean attributeIsSelected(Set<LoggedAttribute> enabledAttributes, String name, MetaClass metaclass)
    • setSelectAllCheckBox

      protected void setSelectAllCheckBox(boolean value)
    • setDateFieldTime

      protected void setDateFieldTime()
    • isEntityHaveAttribute

      protected boolean isEntityHaveAttribute(String propertyName, MetaClass metaClass, Set<LoggedAttribute> enabledAttr)
    • getLoggedAttribute

      protected LoggedAttribute getLoggedAttribute(String name, Set<LoggedAttribute> enabledAttr)
    • onValueClearAction

      @Subscribe("instancePicker.valueClearAction") protected void onValueClearAction(ActionPerformedEvent event)
    • onSelectAction

      @Subscribe("instancePicker.selectAction") protected void onSelectAction(ActionPerformedEvent event)
    • onLoggedEntityTableCreate

      @Subscribe("loggedEntityTable.create") protected void onLoggedEntityTableCreate(ActionPerformedEvent event)
    • onLoggedEntityTableEdit

      @Subscribe("loggedEntityTable.edit") protected void onLoggedEntityTableEdit(ActionPerformedEvent event)
    • onSearchBtnClick

      @Subscribe("searchBtn") protected void onSearchBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • onClearEntityLogTableBtnClick

      @Subscribe("clearEntityLogTableBtn") protected void onClearEntityLogTableBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • allowLogProperty

      protected boolean allowLogProperty(MetaProperty metaProperty)
    • onSaveBtnClick

      @Subscribe("saveBtn") protected void onSaveBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • onLoggedEntityTableRemove

      @Subscribe("loggedEntityTable.remove") protected void onLoggedEntityTableRemove(ActionPerformedEvent event)
    • onCancelBtnClick

      @Subscribe("cancelBtn") protected void onCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)