Class UserSubstitutionView
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.securityflowui.view.usersubstitution.UserSubstitutionView
- 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,Serializable
@Route(value="sec/usersubstitution/:username",
layout=DefaultMainViewParent.class)
@ViewController("sec_UserSubstitution.view")
@ViewDescriptor("user-substitution-view.xml")
@DialogMode(width="64em")
public class UserSubstitutionView
extends StandardView
- See Also:
-
Nested Class Summary
Nested 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.RestoreComponentsStateEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MessageBundleprotected MetadataToolsstatic final Stringprotected Stringprotected UserRepositoryprotected UserSubstitutionPersistenceprotected CollectionLoader<UserSubstitutionModel>protected ViewValidation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) protected voidfindUsername(com.vaadin.flow.router.BeforeEnterEvent event) protected UserSubstitutionPersistenceprotected voidprotected voidprocessBeforeEnterInternal(com.vaadin.flow.router.BeforeEnterEvent event) CAUTION: for internal use only.protected com.vaadin.flow.data.renderer.Renderer<UserSubstitutionModel>protected voidsubstitutionDataGridCreateInitializer(UserSubstitutionModel userSubstitution) protected voidprotected List<UserSubstitutionModel>userSubstitutionsDlLoadDelegate(LoadContext<UserSubstitutionModel> loadContext) Methods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPageTitle, 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
-
ROUTE_PARAM_NAME
- See Also:
-
userSubstitutionsDl
-
messageBundle
-
metadataTools
-
userRepository
-
viewValidation
-
userSubstitutionPersistence
-
username
-
-
Constructor Details
-
UserSubstitutionView
public UserSubstitutionView()
-
-
Method Details
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) - Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler- Overrides:
beforeEnterin classView<ViewLayout>
-
processBeforeEnterInternal
protected void processBeforeEnterInternal(com.vaadin.flow.router.BeforeEnterEvent event) Description copied from class:ViewCAUTION: for internal use only.- Overrides:
processBeforeEnterInternalin classView<ViewLayout>- Parameters:
event- before navigation event with event details
-
findUsername
protected void findUsername(com.vaadin.flow.router.BeforeEnterEvent event) -
getPageTitle
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle- Overrides:
getPageTitlein classView<ViewLayout>
-
onCloseAction
-
substitutionDataGridCreateInitializer
@Install(to="substitutionDataGrid.create", subject="initializer") protected void substitutionDataGridCreateInitializer(UserSubstitutionModel userSubstitution) -
substitutedUsernameRenderer
@Supply(to="substitutionDataGrid.substitutedUsername", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<UserSubstitutionModel> substitutedUsernameRenderer() -
userSubstitutionsDlLoadDelegate
@Install(to="userSubstitutionsDl", target=DATA_LOADER) protected List<UserSubstitutionModel> userSubstitutionsDlLoadDelegate(LoadContext<UserSubstitutionModel> loadContext) -
substitutionDataGridRemoveDelegate
@Install(to="substitutionDataGrid.remove", subject="delegate") protected void substitutionDataGridRemoveDelegate(Collection<UserSubstitutionModel> collection) -
getUserSubstitutionService
-