@UiController(value="entityLog.browse") @UiDescriptor(value="entity-log-browser.xml") public class EntityLogBrowser extends io.jmix.ui.screen.StandardLookup<EntityLogItem>
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.component.VBoxLayout |
actionsPaneLayout |
protected io.jmix.ui.component.ScrollBoxLayout |
attributesBoxScroll |
protected io.jmix.ui.component.CheckBox |
autoCheckBox |
protected io.jmix.ui.component.Button |
cancelBtn |
protected boolean |
canSelectAllCheckboxGenerateEvents |
protected io.jmix.ui.component.ComboBox |
changeTypeField |
protected io.jmix.ui.model.DataContext |
dataContext |
protected io.jmix.ui.Dialogs |
dialogs |
protected EntityLog |
entityLog |
protected io.jmix.ui.component.Table<EntityLogAttr> |
entityLogAttrTable |
protected io.jmix.ui.model.CollectionLoader<EntityLogItem> |
entityLogDl |
protected io.jmix.ui.component.Table<EntityLogItem> |
entityLogTable |
protected java.util.TreeMap<java.lang.String,java.lang.String> |
entityMetaClassesMap |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
entityNameField |
protected io.jmix.core.ExtendedEntities |
extendedEntities |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
filterEntityNameField |
protected io.jmix.ui.component.DateField |
fromDateField |
protected io.jmix.ui.component.EntityPicker<java.lang.Object> |
instancePicker |
protected io.jmix.ui.model.CollectionContainer<LoggedAttribute> |
loggedAttrDc |
protected io.jmix.ui.model.CollectionLoader<LoggedAttribute> |
loggedAttrDl |
protected io.jmix.ui.model.CollectionContainer<LoggedEntity> |
loggedEntityDc |
protected io.jmix.ui.model.CollectionLoader<LoggedEntity> |
loggedEntityDl |
protected io.jmix.ui.component.GroupTable<LoggedEntity> |
loggedEntityTable |
protected io.jmix.ui.component.CheckBox |
manualCheckBox |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.MessageTools |
messageTools |
protected io.jmix.core.Metadata |
metadata |
protected io.jmix.core.MetadataTools |
metadataTools |
protected io.jmix.ui.Notifications |
notifications |
protected io.jmix.security.constraint.PolicyStore |
policyStore |
protected io.jmix.core.ReferenceToEntitySupport |
referenceToEntitySupport |
protected io.jmix.ui.ScreenBuilders |
screenBuilders |
protected static java.lang.String |
SELECT_ALL_CHECK_BOX |
protected io.jmix.ui.component.CheckBox |
selectAllCheckBox |
protected io.jmix.ui.component.DateField |
tillDateField |
protected io.jmix.core.TimeSource |
timeSource |
protected io.jmix.ui.UiComponents |
uiComponents |
protected io.jmix.ui.component.SuggestionField<java.lang.String> |
userField |
protected io.jmix.core.security.UserRepository |
userRepository |
Constructor and Description |
---|
EntityLogBrowser() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttribute(java.util.Set<LoggedAttribute> enabledAttributes,
java.lang.String name,
io.jmix.core.metamodel.model.MetaClass metaclass,
boolean editable) |
protected boolean |
allowLogProperty(io.jmix.core.metamodel.model.MetaProperty metaProperty) |
protected void |
checkAllCheckboxes() |
void |
clearAttributes() |
protected void |
disableControls() |
protected void |
enableAllCheckBoxes(boolean b) |
protected void |
enableControls() |
protected java.lang.String |
entityLogAttrTableDisplayNameValueProvider(EntityLogAttr entityLogAttr) |
protected java.lang.String |
entityLogAttrTableDisplayOldValueValueProvider(EntityLogAttr entityLogAttr) |
protected java.lang.String |
entityLogAttrTableDisplayValueValueProvider(EntityLogAttr entityLogAttr) |
protected io.jmix.ui.component.Component |
entityLogTableDisplayedEntityNameColumnGenerator(EntityLogItem entityLogItem) |
protected io.jmix.ui.component.Component |
entityLogTableEntityIdColumnGenerator(EntityLogItem entityLogItem) |
protected java.lang.String |
evaluateEntityLogItemAttrDisplayValue(EntityLogAttr entityLogAttr,
java.lang.String value) |
protected java.lang.String |
evaluateEntityLogItemDisplayedEntityName(EntityLogItem entityLogItem) |
protected void |
fillAttributes(java.lang.String metaClassName,
LoggedEntity item,
boolean editable) |
protected io.jmix.core.metamodel.model.MetaClass |
getClassFromEntityName(java.lang.String entityName) |
java.util.TreeMap<java.lang.String,java.lang.String> |
getEntityMetaClasses() |
protected java.lang.Enum |
getEnumById(java.util.List<java.lang.Enum> enums,
java.lang.String id) |
LoggedAttribute |
getLoggedAttribute(java.lang.String name,
java.util.Set<LoggedAttribute> enabledAttr) |
boolean |
isEntityHaveAttribute(java.lang.String propertyName,
io.jmix.core.metamodel.model.MetaClass metaClass,
java.util.Set<LoggedAttribute> enabledAttr) |
protected void |
onCancelBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
void |
onClearEntityLogTableBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
protected void |
onInit(io.jmix.ui.screen.Screen.InitEvent event) |
void |
onInstancePickerLookup(io.jmix.ui.action.Action.ActionPerformedEvent event) |
void |
onLoggedEntityTableCreate(io.jmix.ui.action.Action.ActionPerformedEvent event) |
void |
onLoggedEntityTableEdit(io.jmix.ui.action.Action.ActionPerformedEvent event) |
void |
onReloadBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
protected void |
onRemoveBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
protected void |
onSaveBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
void |
onSearchBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
void |
setDateFieldTime() |
void |
setSelectAllCheckBox(boolean value) |
addDefaultCancelAction, addDefaultSelectAction, cancel, getLookupActionsLayout, getLookupComponent, getSelectHandler, getSelectValidator, getWindowActionOptional, initActions, select, select, setLookupComponentMultiSelect, setSelectHandler, setSelectValidator, setupCommitShortcut, setupLookupComponent
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
protected static final java.lang.String SELECT_ALL_CHECK_BOX
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.core.TimeSource timeSource
@Autowired protected io.jmix.core.ReferenceToEntitySupport referenceToEntitySupport
@Autowired protected io.jmix.core.ExtendedEntities extendedEntities
@Autowired protected EntityLog entityLog
@Autowired protected io.jmix.ui.UiComponents uiComponents
@Autowired protected io.jmix.core.MetadataTools metadataTools
@Autowired protected io.jmix.ui.Dialogs dialogs
@Autowired protected io.jmix.ui.Notifications notifications
@Autowired protected io.jmix.ui.ScreenBuilders screenBuilders
@Autowired protected io.jmix.security.constraint.PolicyStore policyStore
@Autowired protected io.jmix.ui.model.CollectionContainer<LoggedEntity> loggedEntityDc
@Autowired protected io.jmix.ui.model.CollectionLoader<LoggedEntity> loggedEntityDl
@Autowired protected io.jmix.ui.model.CollectionLoader<EntityLogItem> entityLogDl
@Autowired protected io.jmix.ui.model.CollectionContainer<LoggedAttribute> loggedAttrDc
@Autowired protected io.jmix.ui.model.CollectionLoader<LoggedAttribute> loggedAttrDl
@Autowired protected io.jmix.ui.component.ComboBox changeTypeField
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> entityNameField
@Autowired protected io.jmix.ui.component.SuggestionField<java.lang.String> userField
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> filterEntityNameField
@Autowired protected io.jmix.ui.model.DataContext dataContext
@Autowired protected io.jmix.ui.component.EntityPicker<java.lang.Object> instancePicker
@Autowired protected io.jmix.ui.component.Table<EntityLogItem> entityLogTable
@Autowired protected io.jmix.ui.component.GroupTable<LoggedEntity> loggedEntityTable
@Autowired protected io.jmix.ui.component.Table<EntityLogAttr> entityLogAttrTable
@Autowired protected io.jmix.ui.component.CheckBox manualCheckBox
@Autowired protected io.jmix.ui.component.CheckBox autoCheckBox
@Autowired protected io.jmix.ui.component.VBoxLayout actionsPaneLayout
@Autowired protected io.jmix.ui.component.ScrollBoxLayout attributesBoxScroll
@Autowired protected io.jmix.ui.component.DateField tillDateField
@Autowired protected io.jmix.ui.component.DateField fromDateField
@Autowired protected io.jmix.ui.component.Button cancelBtn
@Autowired protected io.jmix.ui.component.CheckBox selectAllCheckBox
@Autowired protected io.jmix.core.security.UserRepository userRepository
@Autowired protected io.jmix.core.MessageTools messageTools
protected java.util.TreeMap<java.lang.String,java.lang.String> entityMetaClassesMap
protected boolean canSelectAllCheckboxGenerateEvents
@Subscribe protected void onInit(io.jmix.ui.screen.Screen.InitEvent event)
@Install(to="entityLogTable.entityId", subject="columnGenerator") protected io.jmix.ui.component.Component entityLogTableEntityIdColumnGenerator(EntityLogItem entityLogItem)
@Install(to="entityLogTable.displayedEntityName", subject="columnGenerator") protected io.jmix.ui.component.Component entityLogTableDisplayedEntityNameColumnGenerator(EntityLogItem entityLogItem)
protected java.lang.String evaluateEntityLogItemDisplayedEntityName(EntityLogItem entityLogItem)
@Install(to="entityLogAttrTable.name", subject="valueProvider") protected java.lang.String entityLogAttrTableDisplayNameValueProvider(EntityLogAttr entityLogAttr)
@Install(to="entityLogAttrTable.value", subject="valueProvider") protected java.lang.String entityLogAttrTableDisplayValueValueProvider(EntityLogAttr entityLogAttr)
@Install(to="entityLogAttrTable.oldValue", subject="valueProvider") protected java.lang.String entityLogAttrTableDisplayOldValueValueProvider(EntityLogAttr entityLogAttr)
protected java.lang.String evaluateEntityLogItemAttrDisplayValue(EntityLogAttr entityLogAttr, java.lang.String value)
@Nullable protected io.jmix.core.metamodel.model.MetaClass getClassFromEntityName(java.lang.String entityName)
protected java.lang.Enum getEnumById(java.util.List<java.lang.Enum> enums, java.lang.String id)
@Subscribe(value="instancePicker.lookup") public void onInstancePickerLookup(io.jmix.ui.action.Action.ActionPerformedEvent event)
public java.util.TreeMap<java.lang.String,java.lang.String> getEntityMetaClasses()
protected void enableControls()
protected void disableControls()
protected void fillAttributes(java.lang.String metaClassName, LoggedEntity item, boolean editable)
protected void addAttribute(java.util.Set<LoggedAttribute> enabledAttributes, java.lang.String name, io.jmix.core.metamodel.model.MetaClass metaclass, boolean editable)
protected void enableAllCheckBoxes(boolean b)
protected void checkAllCheckboxes()
public void setSelectAllCheckBox(boolean value)
public void setDateFieldTime()
public void clearAttributes()
public boolean isEntityHaveAttribute(java.lang.String propertyName, io.jmix.core.metamodel.model.MetaClass metaClass, java.util.Set<LoggedAttribute> enabledAttr)
public LoggedAttribute getLoggedAttribute(java.lang.String name, java.util.Set<LoggedAttribute> enabledAttr)
@Subscribe(value="loggedEntityTable.create") public void onLoggedEntityTableCreate(io.jmix.ui.action.Action.ActionPerformedEvent event)
@Subscribe(value="loggedEntityTable.edit") public void onLoggedEntityTableEdit(io.jmix.ui.action.Action.ActionPerformedEvent event)
@Subscribe(value="searchBtn") public void onSearchBtnClick(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe(value="clearEntityLogTableBtn") public void onClearEntityLogTableBtnClick(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe(value="reloadBtn") public void onReloadBtnClick(io.jmix.ui.component.Button.ClickEvent event)
protected boolean allowLogProperty(io.jmix.core.metamodel.model.MetaProperty metaProperty)
@Subscribe(value="saveBtn") protected void onSaveBtnClick(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe(value="removeBtn") protected void onRemoveBtnClick(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe(value="cancelBtn") protected void onCancelBtnClick(io.jmix.ui.component.Button.ClickEvent event)