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 classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher
protected BackgroundWorker
protected static final String
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected com.vaadin.flow.component.dialog.Dialog
protected JmixButton
protected DataManager
protected Dialogs
protected JmixButton
protected JmixButton
protected JmixButton
protected BackgroundTaskHandler<List<UserPasswordValue>>
protected MessageBundle
protected static final String
protected DataGrid<UserPasswordValue>
protected com.vaadin.flow.component.html.Span
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.component.html.Span
protected static final String
protected com.vaadin.flow.component.html.Span
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.component.html.Span
protected com.vaadin.flow.component.progressbar.ProgressBar
protected UiAsyncTasks
protected UiComponents
protected UiExportHelper
protected UserManager
protected CollectionContainer<UserPasswordValue>
protected Set<? extends org.springframework.security.core.userdetails.UserDetails>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
configureComponentOnProgress
(Integer progress) protected void
protected void
protected void
protected void
copyButtonInitializer
(JmixButton button, String valueToCopy) protected BackgroundTask<Integer,
List<UserPasswordValue>> protected UserPasswordValue
createPasswordValue
(String username, String password) protected void
protected boolean
void
protected void
onExportBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onGenerateBtnClick
(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected void
onGenerationCancelBtnClick
(com.vaadin.flow.component.ClickEvent<JmixButton> event) void
onInit
(View.InitEvent event) void
onReady
(View.ReadyEvent event) protected void
passwordFieldInitializer
(com.vaadin.flow.component.orderedlayout.HorizontalLayout layout, UserPasswordValue userPasswordValue) protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected com.vaadin.flow.data.renderer.Renderer<UserPasswordValue>
protected void
void
protected void
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, 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, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods 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:
getPageTitle
in interfacecom.vaadin.flow.router.HasDynamicTitle
- Overrides:
getPageTitle
in 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)
-