Class EntityLogView
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.flowui.view.StandardListView<EntityLogItem>
io.jmix.auditflowui.view.entitylog.EntityLogView
- 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,- FragmentOwner,- LookupView<EntityLogItem>,- MultiSelectLookupView,- Serializable
@Route(value="audit/entitylog",
       layout=DefaultMainViewParent.class)
@ViewController("entityLog.view")
@ViewDescriptor("entity-log-view.xml")
@DialogMode(width="80em",
            height="60em",
            resizable=true)
public class EntityLogView
extends StandardListView<EntityLogItem>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEventNested classes/interfaces inherited from interface io.jmix.flowui.view.LookupViewLookupView.ValidationContext<E>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected com.vaadin.flow.component.checkbox.CheckboxGroup<String>protected com.vaadin.flow.component.button.Buttonprotected booleanprotected JmixSelect<String>protected DialogWindowsprotected Dialogsprotected Downloaderprotected EntityImportExportprotected EntityImportPlansprotected EntityLogprotected CollectionContainer<EntityLogAttr>protected DataGrid<EntityLogAttr>protected CollectionLoader<EntityLogItem>protected DataGrid<EntityLogItem>protected com.vaadin.flow.component.combobox.ComboBox<String>protected ExtendedEntitiesprotected FetchPlansprotected com.vaadin.flow.component.combobox.ComboBox<String>protected TypedDatePicker<LocalDate>protected TypedTimePicker<LocalTime>protected FileUploadFieldprotected ValuePicker<Object>protected CollectionLoader<LoggedAttribute>protected CollectionContainer<LoggedEntity>protected CollectionLoader<LoggedEntity>protected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected DataGrid<LoggedEntity>protected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected Messagesprotected MessageToolsprotected Metadataprotected MetadataToolsprotected Notificationsprotected PolicyStoreprotected ReferenceToEntitySupportprotected SecureOperationsprotected com.vaadin.flow.component.checkbox.Checkboxprotected Objectprotected com.vaadin.flow.component.formlayout.FormLayoutprotected TypedDatePicker<LocalDate>protected TypedTimePicker<LocalTime>protected TimeSourceprotected UiComponentsprotected JmixComboBox<String>protected UserRepositoryFields inherited from class io.jmix.flowui.view.StandardListViewDISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanallowLogProperty(MetaProperty metaProperty) protected booleanattributeIsSelected(Set<LoggedAttribute> enabledAttributes, String name, MetaClass metaclass) protected FetchPlanprotected EntityImportPlanprotected voidprotected voidprotected StringevaluateEntityLogItemAttrDisplayValue(EntityLogAttr entityLogAttr, String value) protected StringevaluateEntityLogItemDisplayedEntityName(EntityLogItem entityLogItem) protected voidexport(DownloadFormat downloadFormat) protected voidfillAttributes(String metaClassName, LoggedEntity item, boolean editable) protected ObjectgenerateAttributeColumn(EntityLogAttr entityLogAttr) protected ObjectgenerateEntityIdColumn(EntityLogItem entityLogItem) protected ObjectgenerateEntityInstanceNameColumn(EntityLogItem entityLogItem) protected MetaClassgetClassFromEntityName(String entityName) protected EnumgetEnumById(List<Enum> enums, String id) protected LocalDateTimegetImportedEntityList(String fileName, byte[] fileContent) protected LoggedAttributegetLoggedAttribute(String name, Set<LoggedAttribute> enabledAttr) protected LocalDateTimeprotected booleanisEntityHaveAttribute(String propertyName, MetaClass metaClass, Set<LoggedAttribute> enabledAttr) protected booleanisTenantIdProperty(MetaProperty metaProperty) protected voidonAttributesCheckboxGroupValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<String>, Set<String>> event) protected voidonCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonClearEntityLogTableBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonEntityLogTableSelect(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<EntityLogItem>, EntityLogItem> event1) protected voidonEntityNameFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) protected voidonFilterEntityNameFieldComboBoxValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) voidprotected voidonInit(View.InitEvent event) protected voidprotected voidprotected voidprotected voidonLoggedEntityTableSelectEvent(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<LoggedEntity>, LoggedEntity> event) voidvoidprotected voidonSaveBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonSearchBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidprotected voidonSelectAllCheckBoxChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) onUserFieldFetchCallback(com.vaadin.flow.data.provider.Query<String, String> query) protected voidprotected voidprotected voidsetSelectAllCheckBox(boolean value) Methods inherited from class io.jmix.flowui.view.StandardListViewcloseWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
loggedEntityDc
- 
loggedEntityDl
- 
entityLogDl
- 
loggedAttrDl
- 
changeTypeField
- 
entityNameField
- 
userField
- 
filterEntityNameField
- 
instancePicker
- 
entityLogTable
- 
loggedEntityTable
- 
entityLogAttrTable
- 
actionsPaneLayout
- 
tillDateField
- 
tillTimeField
- 
fromDateField
- 
fromTimeField
- 
cancelBtn
- 
importField
- 
selectAllCheckBox
- 
entityLogAttrDc
- 
loggedEntityTableBox@ViewComponent protected com.vaadin.flow.component.orderedlayout.VerticalLayout loggedEntityTableBox
- 
setupWrapper
- 
loggedEntityMiscBox
- 
attributesCheckboxGroup@ViewComponent protected com.vaadin.flow.component.checkbox.CheckboxGroup<String> attributesCheckboxGroup
- 
userRepository
- 
messageTools
- 
dialogBuilders
- 
entityImportExport
- 
entityImportPlans
- 
downloader
- 
fetchPlans
- 
secureOperations
- 
messages
- 
metadata
- 
timeSource
- 
referenceToEntitySupport
- 
extendedEntities
- 
entityLog
- 
uiComponents
- 
metadataTools
- 
dialogs
- 
notifications
- 
policyStore
- 
selectedEntity
- 
canSelectAllCheckboxGenerateEventsprotected boolean canSelectAllCheckboxGenerateEvents
 
- 
- 
Constructor Details- 
EntityLogViewpublic EntityLogView()
 
- 
- 
Method Details- 
getTillDateTime
- 
getFromDateTime
- 
onInit
- 
onUserFieldFetchCallback
- 
generateAttributeColumn
- 
generateEntityInstanceNameColumn
- 
generateEntityIdColumn
- 
evaluateEntityLogItemDisplayedEntityName
- 
evaluateEntityLogItemAttrDisplayValue
- 
getClassFromEntityName
- 
getEnumById
- 
onLoggedEntityTableSelectEvent@Subscribe("loggedEntityTable") 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@Subscribe("entityLogTable") 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
- 
enableControlsprotected void enableControls()
- 
disableControlsprotected void disableControls()
- 
fillAttributes
- 
attributeIsSelectedprotected boolean attributeIsSelected(Set<LoggedAttribute> enabledAttributes, String name, MetaClass metaclass) 
- 
setSelectAllCheckBoxprotected void setSelectAllCheckBox(boolean value) 
- 
setDateFieldTimeprotected void setDateFieldTime()
- 
isEntityHaveAttributeprotected boolean isEntityHaveAttribute(String propertyName, MetaClass metaClass, Set<LoggedAttribute> enabledAttr) 
- 
getLoggedAttribute
- 
onValueClearAction@Subscribe("instancePicker.valueClearAction") protected void onValueClearAction(ActionPerformedEvent event) 
- 
onSelectAction
- 
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
- 
isTenantIdProperty
- 
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) 
- 
onRoleModelsTableExportJSON@Subscribe("loggedEntityTable.exportJSON") public void onRoleModelsTableExportJSON(ActionPerformedEvent event) 
- 
onRoleModelsTableExportZIP@Subscribe("loggedEntityTable.exportZIP") public void onRoleModelsTableExportZIP(ActionPerformedEvent event) 
- 
export
- 
getExportEntityList
- 
buildExportFetchPlan
- 
onImportFieldFileUploadSucceed@Subscribe("importField") public void onImportFieldFileUploadSucceed(FileUploadSucceededEvent<FileUploadField> event) 
- 
getImportedEntityList
- 
createEntityImportPlan
 
-