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 SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected MessageBundleprotected MetadataToolsstatic final Stringprotected Stringprotected UserRepositoryprotected CollectionLoader<UserSubstitutionEntity>protected ViewValidation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) protected voidvoidonPostSave(DataContext.PostSaveEvent postCommitEvent) protected voidonSaveAction(ActionPerformedEvent event) protected com.vaadin.flow.data.renderer.Renderer<UserSubstitutionEntity>protected voidsubstitutionDataGridCreateInitializer(UserSubstitutionEntity userSubstitution) Methods 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, 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- 
ROUTE_PARAM_NAME- See Also:
 
- 
userSubstitutionsDl
- 
messageBundle
- 
metadataTools
- 
userRepository
- 
viewValidation
- 
username
 
- 
- 
Constructor Details- 
UserSubstitutionViewpublic UserSubstitutionView()
 
- 
- 
Method Details- 
beforeEnterpublic void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) - Specified by:
- beforeEnterin interface- com.vaadin.flow.router.internal.BeforeEnterHandler
- Overrides:
- beforeEnterin class- View<ViewLayout>
 
- 
getPageTitle- Specified by:
- getPageTitlein interface- com.vaadin.flow.router.HasDynamicTitle
- Overrides:
- getPageTitlein class- View<ViewLayout>
 
- 
onSaveAction
- 
onCloseAction
- 
substitutionDataGridCreateInitializer@Install(to="substitutionDataGrid.create", subject="initializer") protected void substitutionDataGridCreateInitializer(UserSubstitutionEntity userSubstitution) 
- 
substitutedUsernameRenderer@Supply(to="substitutionDataGrid.substitutedUsername", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<UserSubstitutionEntity> substitutedUsernameRenderer()
- 
onPostSave
 
-