Class SubstituteUserView

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.SubstituteUserView
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

@ViewController(id="sec_SubstituteUserView") @ViewDescriptor(path="substitute-user-view.xml") @DialogMode(width="30em", height="40em", closeOnEsc=true) public class SubstituteUserView extends StandardView
See Also:
  • Field Details

  • Constructor Details

    • SubstituteUserView

      public SubstituteUserView()
  • Method Details

    • onInit

      @Subscribe public void onInit(View.InitEvent event)
    • initUsersList

      protected void initUsersList()
    • generateUserName

      protected String generateUserName(org.springframework.security.core.userdetails.UserDetails user)
    • createUsersDataProvider

      protected com.vaadin.flow.data.provider.ListDataProvider<org.springframework.security.core.userdetails.UserDetails> createUsersDataProvider(List<org.springframework.security.core.userdetails.UserDetails> currentAndSubstitutedUsers)
    • usersListRenderer

      @Supply(to="usersList", subject="renderer") protected com.vaadin.flow.data.renderer.ComponentRenderer<?,org.springframework.security.core.userdetails.UserDetails> usersListRenderer()
    • onApplyAction

      @Subscribe("applyAction") public void onApplyAction(ActionPerformedEvent event)
    • onUsersListComponentValueChange

      @Subscribe("usersList") public void onUsersListComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixListBox<?>,?> event)
    • onUserFilterTypedValueChange

      @Subscribe("userFilter") public void onUserFilterTypedValueChange(SupportsTypedValue.TypedValueChangeEvent<TypedTextField<String>,String> event)
    • refreshActions

      protected void refreshActions()