Class ResetPasswordView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.securityflowui.view.resetpassword.ResetPasswordView
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("resetPasswordView") @ViewDescriptor("reset-password-view.xml") @DialogMode(width="35em", resizable=true) public class ResetPasswordView extends StandardView
See Also:
  • Field Details

  • Constructor Details

    • ResetPasswordView

      public ResetPasswordView()
  • Method Details

    • onInit

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

      @Subscribe public void onReady(View.ReadyEvent event)
    • updateRequireChangeAtNextLogonFieldVisibility

      protected void updateRequireChangeAtNextLogonFieldVisibility()
    • onBeforeClose

      @Subscribe public void onBeforeClose(View.BeforeCloseEvent event)
    • passwordsDataGridPasswordRenderer

      @Supply(to="passwordsDataGrid.password", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<UserPasswordValue> passwordsDataGridPasswordRenderer()
    • initExportAction

      protected void initExportAction()
    • onExportBtnClick

      protected void onExportBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • getPageTitle

      public String getPageTitle()
      Specified by:
      getPageTitle in interface com.vaadin.flow.router.HasDynamicTitle
      Overrides:
      getPageTitle in class View<ViewLayout>
    • onGenerateBtnClick

      @Subscribe("generateBtn") protected void onGenerateBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event)
    • configureComponentsBeforeGeneration

      protected void configureComponentsBeforeGeneration()
    • configureComponentOnProgress

      protected void configureComponentOnProgress(Integer progress)
    • configureComponentsAfterCanceling

      protected void configureComponentsAfterCanceling()
    • configureComponentsAfterGeneration

      protected void configureComponentsAfterGeneration()
    • onGenerationCancelBtnClick

      @Subscribe("generationCancelBtn") protected void onGenerationCancelBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event)
    • createBackgroundTask

      protected BackgroundTask<Integer,List<UserPasswordValue>> createBackgroundTask()
    • createPasswordValue

      protected UserPasswordValue createPasswordValue(String username, String password)
    • passwordLayoutFactory

      protected com.vaadin.flow.component.orderedlayout.HorizontalLayout passwordLayoutFactory()
    • passwordFieldInitializer

      protected void passwordFieldInitializer(com.vaadin.flow.component.orderedlayout.HorizontalLayout layout, UserPasswordValue userPasswordValue)
    • copyButtonInitializer

      protected void copyButtonInitializer(JmixButton button, String valueToCopy)
    • applyCopyButtonSuccessStyles

      protected void applyCopyButtonSuccessStyles(JmixButton button)
    • applyCopyButtonDefaultStyles

      protected void applyCopyButtonDefaultStyles(JmixButton button)
    • runAsync

      protected void runAsync(Runnable runnable)
    • cancelGenerationProcess

      protected void cancelGenerationProcess()
    • isSingleSelected

      protected boolean isSingleSelected()
    • updateMultiSelectComponentsLabels

      protected void updateMultiSelectComponentsLabels()
    • setUsers

      public void setUsers(Set<? extends org.springframework.security.core.userdetails.UserDetails> users)