Class SetGoogleAuthenticatorCredentialClickListener
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.pageclicklistener.SetGoogleAuthenticatorCredentialClickListener
- All Implemented Interfaces:
com.vaadin.event.SerializableEventListener
,com.vaadin.ui.Button.ClickListener
,Serializable
,EventListener
public final class SetGoogleAuthenticatorCredentialClickListener
extends Object
implements com.vaadin.ui.Button.ClickListener
The Class SetGoogleAuthenticatorCredentialClickListener.
- See Also:
-
Field Summary
Fields inherited from interface com.vaadin.ui.Button.ClickListener
BUTTON_CLICK_METHOD
-
Constructor Summary
ConstructorDescriptionSetGoogleAuthenticatorCredentialClickListener
(com.hack23.cia.service.api.action.user.SetGoogleAuthenticatorCredentialRequest googleAuthRequest) Instantiates a new sets the google authenticator credential click listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buttonClick
(com.vaadin.ui.Button.ClickEvent event) protected com.hack23.cia.service.api.ApplicationManager
Gets the application manager.protected void
showNotification
(String caption, String description, com.vaadin.ui.Notification.Type type) Show notification.
-
Constructor Details
-
SetGoogleAuthenticatorCredentialClickListener
public SetGoogleAuthenticatorCredentialClickListener(com.hack23.cia.service.api.action.user.SetGoogleAuthenticatorCredentialRequest googleAuthRequest) Instantiates a new sets the google authenticator credential click listener.- Parameters:
googleAuthRequest
- the google auth request
-
-
Method Details
-
buttonClick
public void buttonClick(com.vaadin.ui.Button.ClickEvent event) - Specified by:
buttonClick
in interfacecom.vaadin.ui.Button.ClickListener
-
getApplicationManager
protected com.hack23.cia.service.api.ApplicationManager getApplicationManager()Gets the application manager.- Returns:
- the application manager
-
showNotification
protected void showNotification(String caption, String description, com.vaadin.ui.Notification.Type type) Show notification.- Parameters:
caption
- the captiondescription
- the descriptiontype
- the type
-