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
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceprotected classNested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEventNested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E> -
Field Summary
FieldsModifier 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.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator -
Constructor Summary
Constructors -
Method Summary
Modifier 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 StringcreateMultiRowText(String text, int rowLength) 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.StandardListView
closeWithDiscard, doSelect, getDiscardAction, getLookupActionsLayout, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, 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.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods 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:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler- Overrides:
beforeEnterin classView<ViewLayout>
-
beforeShow
-
onReady
-
getLookupComponent
- Specified by:
getLookupComponentin interfaceLookupView<Object>- Overrides:
getLookupComponentin classStandardListView<Object>- Returns:
- a component that is used to select entities of this view
-
findLookupComponent
- Specified by:
findLookupComponentin interfaceLookupView<Object>- Overrides:
findLookupComponentin 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
-
createMultiRowText
-
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
-