Class EntityInspectorListView
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<Object>
io.jmix.datatoolsflowui.view.entityinspector.EntityInspectorListView
- 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<Object>
,MultiSelectLookupView
,Serializable
@Route(value="datatl/entityinspector",
layout=DefaultMainViewParent.class)
@ViewController("datatl_entityInspectorListView")
@ViewDescriptor("entity-inspector-list-view.xml")
@DialogMode(width="50em")
public class EntityInspectorListView
extends StandardListView<Object>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
protected class
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected Actions
protected static final String
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected CoreProperties
protected DataComponents
protected DataManager
protected DatatoolsUiProperties
protected static final String
protected Dialogs
protected Downloader
protected CollectionContainer
protected CollectionLoader
protected GenericFilter
protected JmixComboBox<MetaClass>
protected EntityImportExport
protected EntityImportPlans
protected String
protected EntityRestore
protected InspectorExportHelper
protected FetchPlanRepository
protected FetchPlans
protected Pair<UrlQueryParametersFacet.Binder,
com.vaadin.flow.shared.Registration> protected EntityImportPlanJsonBuilder
protected com.vaadin.flow.router.QueryParameters
protected boolean
protected com.vaadin.flow.component.formlayout.FormLayout
protected MessageBundle
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected Notifications
protected Pair<UrlQueryParametersFacet.Binder,
com.vaadin.flow.shared.Registration> protected static final String
protected static final String
protected static final String
protected RouteSupport
protected JmixButton
protected MetaClass
protected com.vaadin.flow.component.select.Select<ShowMode>
protected UiComponents
protected UiProperties
protected UrlParamSerializer
protected static final String
Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeEnter
(com.vaadin.flow.router.BeforeEnterEvent event) void
beforeShow
(View.BeforeShowEvent event) protected void
collectFieldQueryParameters
(Map<String, List<String>> parametersMap) protected void
collectFilterQueryParameters
(Map<String, List<String>> parametersMap, GenericFilterUrlQueryParametersBinder filterBinder) protected void
collectPaginationQueryParameters
(Map<String, List<String>> parametersMap, PaginationUrlQueryParametersBinder paginationBinder, SimplePagination pagination) protected com.vaadin.flow.router.QueryParameters
protected CollectionContainer
createContainer
(MetaClass meta) protected CreateAction
createCreateAction
(DataGrid<Object> dataGrid) protected EditAction
createEditAction
(DataGrid<Object> dataGrid) protected void
protected FetchPlan
createEntityExportPlan
(MetaClass metaClass) protected EntityImportPlan
createEntityImportPlan
(MetaClass metaClass) protected EntityImportPlan
createEntityImportPlan
(String content, MetaClass metaClass) protected GenericFilter
protected LookupSelectAction
createLookupSelectAction
(DataGrid<Object> dataGrid) protected SimplePagination
protected UrlQueryParametersFacet.Binder
createQueryParametersBinder
(Supplier<UrlQueryParametersFacet.Binder> binderFactory) protected RefreshAction
createRefreshAction
(DataGrid<Object> dataGrid) protected RemoveAction
createRemoveAction
(DataGrid<Object> dataGrid) protected JmixButton
createRestoreButton
(DataGrid<Object> dataGrid) protected ShowEntityInfoAction
createShowEntityInfoAction
(DataGrid<Object> dataGrid) protected JmixButton
createWipeOutButton
(DataGrid<?> dataGrid) protected void
entitiesDataGridSelectionListener
(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Object>, Object> event) protected void
entityChangeListener
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> valueChangeEvent) protected void
initExcelExportAction
(DataGrid<Object> dataGrid, Consumer<com.vaadin.flow.component.Component> addMethod) protected Pair<UrlQueryParametersFacet.Binder,
com.vaadin.flow.shared.Registration> initQueryParametersBinder
(Pair<UrlQueryParametersFacet.Binder, com.vaadin.flow.shared.Registration> parameterChangeRegistration, Supplier<UrlQueryParametersFacet.Binder> binderFactory) void
onInit
(View.InitEvent event) void
onReady
(View.ReadyEvent event) protected void
protected boolean
readPermitted
(MetaClass metaClass) protected void
restoreOkHandler
(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) void
setEntityName
(String entityName) protected void
setShowMode
(String showModeParameter) protected void
protected void
showModeChangeListener
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<ShowMode>, ShowMode> valueChangeEvent) protected void
showNotification
(String message) protected void
showOptionDialog
(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) protected void
protected void
protected void
standardCancelHandler
(ActionPerformedEvent actionPerformedEvent) protected void
updateButtonsPanel
(DataGrid<Object> dataGrid) protected void
updateSelectAction
(DataGrid<Object> dataGrid) protected void
wipeOutOkHandler
(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, getDiscardAction, getLookupActionsLayout, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, 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, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
BASE_SELECT_QUERY
- See Also:
-
DELETED_ONLY_SELECT_QUERY
- See Also:
-
RESTORE_ACTION_ID
- See Also:
-
WIPE_OUT_ACTION_ID
- See Also:
-
QUERY_PARAM_ENTITY
- See Also:
-
QUERY_PARAM_MODE
- See Also:
-
EXCLUDED_META_CLASS_NAMES
-
lookupBox
-
entitiesLookup
-
buttonsPanel
-
showMode
-
selectButton
-
messages
-
messageBundle
-
metadata
-
metadataTools
-
messageTools
-
accessManager
-
dataComponents
-
fetchPlans
-
fetchPlanRepository
-
uiComponents
-
uiProperties
-
coreProperties
-
entityImportExport
-
importPlanJsonBuilder
-
entityImportPlans
-
actions
-
dialogs
-
notifications
-
entityRestore
-
dataManager
-
urlParamSerializer
-
routeSupport
-
downloader
-
datatoolsProperties
-
exportHelper
-
entitiesDataGrid
-
entitiesGenericFilter
-
filterQueryParametersChange
protected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> filterQueryParametersChange -
paginationQueryParametersChange
protected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> paginationQueryParametersChange -
initialParameters
protected com.vaadin.flow.router.QueryParameters initialParameters -
selectedMeta
-
entitiesDl
-
entitiesDc
-
entityName
-
isDialogMode
protected boolean isDialogMode
-
-
Constructor Details
-
EntityInspectorListView
public EntityInspectorListView()
-
-
Method Details
-
onInit
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) - Specified by:
beforeEnter
in interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
- Overrides:
beforeEnter
in classView<ViewLayout>
-
beforeShow
-
onReady
-
getLookupComponent
- Specified by:
getLookupComponent
in interfaceLookupView<Object>
- Overrides:
getLookupComponent
in classStandardListView<Object>
- Returns:
- a component that is used to select entities of this view
-
findLookupComponent
- Specified by:
findLookupComponent
in interfaceLookupView<Object>
- Overrides:
findLookupComponent
in classStandardListView<Object>
- Returns:
- an optional component that is used to select entities of this view
-
getEntitiesLookupFieldOptions
-
createEntitiesDataGrid
-
createGenericFilter
-
createPagination
-
initQueryParametersBinder
protected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> initQueryParametersBinder(@Nullable Pair<UrlQueryParametersFacet.Binder, com.vaadin.flow.shared.Registration> parameterChangeRegistration, Supplier<UrlQueryParametersFacet.Binder> binderFactory) -
createQueryParametersBinder
protected UrlQueryParametersFacet.Binder createQueryParametersBinder(Supplier<UrlQueryParametersFacet.Binder> binderFactory) -
onUrlQueryParametersChange
protected void onUrlQueryParametersChange(UrlQueryParametersFacet.UrlQueryParametersChangeEvent event) -
showEntities
protected void showEntities() -
entitiesDataGridSelectionListener
-
createContainer
-
updateButtonsPanel
-
initExcelExportAction
-
updateSelectAction
-
createLookupSelectAction
-
createShowEntityInfoAction
-
createRefreshAction
-
createRemoveAction
-
createCreateAction
-
createEditAction
-
createRestoreButton
-
createWipeOutButton
-
showWipeOutDialog
protected void showWipeOutDialog() -
showRestoreDialog
protected void showRestoreDialog() -
showOptionDialog
protected void showOptionDialog(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) -
wipeOutOkHandler
-
restoreOkHandler
-
standardCancelHandler
-
entityChangeListener
-
showModeChangeListener
-
collectQueryParameters
protected com.vaadin.flow.router.QueryParameters collectQueryParameters(UrlQueryParametersFacet.Binder source) -
collectFieldQueryParameters
-
collectPaginationQueryParameters
protected void collectPaginationQueryParameters(Map<String, List<String>> parametersMap, PaginationUrlQueryParametersBinder paginationBinder, SimplePagination pagination) -
collectFilterQueryParameters
protected void collectFilterQueryParameters(Map<String, List<String>> parametersMap, GenericFilterUrlQueryParametersBinder filterBinder) -
showNotification
-
readPermitted
-
setShowMode
-
createEntityExportPlan
-
createEntityImportPlan
-
createEntityImportPlan
-
setEntityName
-