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 SummaryNested ClassesModifier and TypeClassDescriptionprotected static interfaceprotected classNested 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 AccessManagerprotected Actionsprotected static final Stringprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected CorePropertiesprotected DataComponentsprotected DataManagerprotected DatatoolsUiPropertiesprotected static final Stringprotected Dialogsprotected Downloaderprotected CollectionContainerprotected CollectionLoaderprotected GenericFilterprotected JmixComboBox<MetaClass>protected EntityImportExportprotected EntityImportPlansprotected Stringprotected EntityRestoreprotected InspectorExportHelperprotected FetchPlanRepositoryprotected FetchPlansprotected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> protected EntityImportPlanJsonBuilderprotected com.vaadin.flow.router.QueryParametersprotected booleanprotected com.vaadin.flow.component.formlayout.FormLayoutprotected MessageBundleprotected Messagesprotected MessageToolsprotected Metadataprotected MetadataToolsprotected Notificationsprotected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> protected static final Stringprotected static final Stringprotected static final Stringprotected RouteSupportprotected JmixButtonprotected MetaClassprotected com.vaadin.flow.component.select.Select<ShowMode>protected UiComponentsprotected UiPropertiesprotected UrlParamSerializerprotected static final StringFields 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 TypeMethodDescriptionvoidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) voidbeforeShow(View.BeforeShowEvent event) protected voidcollectFieldQueryParameters(Map<String, List<String>> parametersMap) protected voidcollectFilterQueryParameters(Map<String, List<String>> parametersMap, GenericFilterUrlQueryParametersBinder filterBinder) protected voidcollectPaginationQueryParameters(Map<String, List<String>> parametersMap, PaginationUrlQueryParametersBinder paginationBinder, SimplePagination pagination) protected com.vaadin.flow.router.QueryParametersprotected CollectionContainercreateContainer(MetaClass meta) protected CreateActioncreateCreateAction(DataGrid<Object> dataGrid) protected EditActioncreateEditAction(DataGrid<Object> dataGrid) protected voidprotected FetchPlancreateEntityExportPlan(MetaClass metaClass) protected EntityImportPlancreateEntityImportPlan(MetaClass metaClass) protected EntityImportPlancreateEntityImportPlan(String content, MetaClass metaClass) protected GenericFilterprotected LookupSelectActioncreateLookupSelectAction(DataGrid<Object> dataGrid) protected SimplePaginationprotected UrlQueryParametersFacet.BindercreateQueryParametersBinder(Supplier<UrlQueryParametersFacet.Binder> binderFactory) protected RefreshActioncreateRefreshAction(DataGrid<Object> dataGrid) protected RemoveActioncreateRemoveAction(DataGrid<Object> dataGrid) protected JmixButtoncreateRestoreButton(DataGrid<Object> dataGrid) protected ShowEntityInfoActioncreateShowEntityInfoAction(DataGrid<Object> dataGrid) protected JmixButtoncreateWipeOutButton(DataGrid<?> dataGrid) protected voidentitiesDataGridSelectionListener(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Object>, Object> event) protected voidentityChangeListener(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> valueChangeEvent) protected voidinitExcelExportAction(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) voidonInit(View.InitEvent event) voidonReady(View.ReadyEvent event) protected voidprotected booleanreadPermitted(MetaClass metaClass) protected voidrestoreOkHandler(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) voidsetEntityName(String entityName) protected voidsetShowMode(String showModeParameter) protected voidprotected voidshowModeChangeListener(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<ShowMode>, ShowMode> valueChangeEvent) protected voidshowNotification(String message) protected voidshowOptionDialog(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) protected voidprotected voidprotected voidstandardCancelHandler(ActionPerformedEvent actionPerformedEvent) protected voidupdateButtonsPanel(DataGrid<Object> dataGrid) protected voidupdateSelectAction(DataGrid<Object> dataGrid) protected voidwipeOutOkHandler(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) Methods inherited from class io.jmix.flowui.view.StandardListViewcloseWithDiscard, doSelect, getDiscardAction, getLookupActionsLayout, 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, 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- 
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
- 
filterQueryParametersChangeprotected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> filterQueryParametersChange
- 
paginationQueryParametersChangeprotected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> paginationQueryParametersChange
- 
initialParametersprotected com.vaadin.flow.router.QueryParameters initialParameters
- 
selectedMeta
- 
entitiesDl
- 
entitiesDc
- 
entityName
- 
isDialogModeprotected boolean isDialogMode
 
- 
- 
Constructor Details- 
EntityInspectorListViewpublic EntityInspectorListView()
 
- 
- 
Method Details- 
onInit
- 
beforeEnterpublic void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) - Specified by:
- beforeEnterin interface- com.vaadin.flow.router.internal.BeforeEnterHandler
- Overrides:
- beforeEnterin class- View<ViewLayout>
 
- 
beforeShow
- 
onReady
- 
getLookupComponent- Specified by:
- getLookupComponentin interface- LookupView<Object>
- Overrides:
- getLookupComponentin class- StandardListView<Object>
- Returns:
- a component that is used to select entities of this view
 
- 
findLookupComponent- Specified by:
- findLookupComponentin interface- LookupView<Object>
- Overrides:
- findLookupComponentin class- StandardListView<Object>
- Returns:
- an optional component that is used to select entities of this view
 
- 
getEntitiesLookupFieldOptions
- 
createEntitiesDataGrid
- 
createGenericFilter
- 
createPagination
- 
initQueryParametersBinderprotected Pair<UrlQueryParametersFacet.Binder,com.vaadin.flow.shared.Registration> initQueryParametersBinder(@Nullable Pair<UrlQueryParametersFacet.Binder, com.vaadin.flow.shared.Registration> parameterChangeRegistration, Supplier<UrlQueryParametersFacet.Binder> binderFactory) 
- 
createQueryParametersBinderprotected UrlQueryParametersFacet.Binder createQueryParametersBinder(Supplier<UrlQueryParametersFacet.Binder> binderFactory) 
- 
onUrlQueryParametersChangeprotected void onUrlQueryParametersChange(UrlQueryParametersFacet.UrlQueryParametersChangeEvent event) 
- 
showEntitiesprotected void showEntities()
- 
entitiesDataGridSelectionListener
- 
createContainer
- 
updateButtonsPanel
- 
initExcelExportAction
- 
updateSelectAction
- 
createLookupSelectAction
- 
createShowEntityInfoAction
- 
createRefreshAction
- 
createRemoveAction
- 
createCreateAction
- 
createEditAction
- 
createRestoreButton
- 
createWipeOutButton
- 
showWipeOutDialogprotected void showWipeOutDialog()
- 
showRestoreDialogprotected void showRestoreDialog()
- 
showOptionDialogprotected void showOptionDialog(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) 
- 
wipeOutOkHandler
- 
restoreOkHandler
- 
standardCancelHandler
- 
entityChangeListener
- 
showModeChangeListener
- 
collectQueryParametersprotected com.vaadin.flow.router.QueryParameters collectQueryParameters(UrlQueryParametersFacet.Binder source) 
- 
collectFieldQueryParameters
- 
collectPaginationQueryParametersprotected void collectPaginationQueryParameters(Map<String, List<String>> parametersMap, PaginationUrlQueryParametersBinder paginationBinder, SimplePagination pagination) 
- 
collectFilterQueryParametersprotected void collectFilterQueryParameters(Map<String, List<String>> parametersMap, GenericFilterUrlQueryParametersBinder filterBinder) 
- 
showNotification
- 
readPermitted
- 
setShowMode
- 
createEntityExportPlan
- 
createEntityImportPlan
- 
createEntityImportPlan
- 
setEntityName
 
-