Class ResetPasswordView
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.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,FragmentOwner,Serializable
@ViewController("resetPasswordView")
@ViewDescriptor("reset-password-view.xml")
@DialogMode(width="35em",
resizable=true)
public class ResetPasswordView
extends StandardView
- See Also:
-
Nested Class Summary
Nested ClassesNested 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 org.springframework.context.ApplicationEventPublisherprotected BackgroundWorkerprotected static final Stringprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected com.vaadin.flow.component.dialog.Dialogprotected JmixButtonprotected DataManagerprotected Dialogsprotected JmixButtonprotected JmixButtonprotected JmixButtonprotected BackgroundTaskHandler<List<UserPasswordValue>>protected MessageBundleprotected static final Stringprotected DataGrid<UserPasswordValue>protected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected com.vaadin.flow.component.html.Spanprotected static final Stringprotected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.progressbar.ProgressBarprotected UiAsyncTasksprotected UiComponentsprotected UiExportHelperprotected UserManagerprotected CollectionContainer<UserPasswordValue>protected Set<? extends org.springframework.security.core.userdetails.UserDetails> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidconfigureComponentOnProgress(Integer progress) protected voidprotected voidprotected voidprotected voidcopyButtonInitializer(JmixButton button, String valueToCopy) protected BackgroundTask<Integer,List<UserPasswordValue>> protected UserPasswordValuecreatePasswordValue(String username, String password) protected voidprotected booleanvoidprotected voidonExportBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonGenerateBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected voidonGenerationCancelBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) voidonInit(View.InitEvent event) voidonReady(View.ReadyEvent event) protected voidpasswordFieldInitializer(com.vaadin.flow.component.orderedlayout.HorizontalLayout layout, UserPasswordValue userPasswordValue) protected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected com.vaadin.flow.data.renderer.Renderer<UserPasswordValue>protected voidvoidprotected voidMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, 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.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
-
RESET_PASSWORD_FIELD_CLASS_NAME
- See Also:
-
PASSWORD_FIELD_ID
- See Also:
-
BUTTON_ID
- See Also:
-
userManager
-
dataManager
-
applicationEventPublisher
@Autowired protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher -
uiAsyncTasks
-
backgroundWorker
-
dialogs
-
messageBundle
-
uiComponents
-
uiExportHelper
-
resetPasswordLayout
-
resetPasswordLabel
-
resetPasswordSubLabel
-
generateBtn
-
buttonPanel
-
passwordsDataGrid
-
closeBtn
-
progressBarLayout
-
generationCancelBtn
-
resetProgressBar
-
progressBarLabel
-
progressSpan
-
userPasswordValueDc
-
generationTaskHandler
-
exportActionButton
-
users
-
cancelDialog
protected com.vaadin.flow.component.dialog.Dialog cancelDialog
-
-
Constructor Details
-
ResetPasswordView
public ResetPasswordView()
-
-
Method Details
-
onInit
-
onReady
-
onBeforeClose
-
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
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle- Overrides:
getPageTitlein classView<ViewLayout>
-
onGenerateBtnClick
@Subscribe("generateBtn") protected void onGenerateBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
configureComponentsBeforeGeneration
protected void configureComponentsBeforeGeneration() -
configureComponentOnProgress
-
configureComponentsAfterCanceling
protected void configureComponentsAfterCanceling() -
configureComponentsAfterGeneration
protected void configureComponentsAfterGeneration() -
onGenerationCancelBtnClick
@Subscribe("generationCancelBtn") protected void onGenerationCancelBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
createBackgroundTask
-
createPasswordValue
-
passwordLayoutFactory
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout passwordLayoutFactory() -
passwordFieldInitializer
protected void passwordFieldInitializer(com.vaadin.flow.component.orderedlayout.HorizontalLayout layout, UserPasswordValue userPasswordValue) -
copyButtonInitializer
-
applyCopyButtonSuccessStyles
-
applyCopyButtonDefaultStyles
-
runAsync
-
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)
-