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, FacetOwner, 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

    • applyAction

      @ViewComponent protected BaseAction applyAction
    • userFilter

      @ViewComponent protected TypedTextField<String> userFilter
    • usersList

      @ViewComponent protected JmixListBox<org.springframework.security.core.userdetails.UserDetails> usersList
    • actions

      @Autowired protected Actions actions
    • dialogs

      @Autowired protected Dialogs dialogs
    • messages

      @Autowired protected Messages messages
    • uiComponents

      @Autowired protected UiComponents uiComponents
    • metadataTools

      @Autowired protected MetadataTools metadataTools
    • currentUserSubstitution

      @Autowired protected CurrentUserSubstitution currentUserSubstitution
    • userSubstitutionManager

      @Autowired protected UserSubstitutionManager userSubstitutionManager
    • icons

      @Autowired protected Icons icons
    • usersDataView

      protected com.vaadin.flow.component.listbox.dataview.ListBoxListDataView<org.springframework.security.core.userdetails.UserDetails> usersDataView
  • 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()