public class ActionConfirmationHelper
extends java.lang.Object
| Constructor and Description |
|---|
ActionConfirmationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static MessageKey |
getMessageKey(EnumMessageKeyResolver<ActionConfirmationStatus> baseKey,
PasswordInputDTO input,
ActionConfirmationMode mode)
Returns the key to be used for the message shown in conjunction with the password input field in an action
confirmation.
|
static boolean |
isCanConfirm(PasswordInputDTO input,
ActionConfirmationMode mode)
Returns true if the action can be confirmed with a password or device in case the given mode is null.
|
public static MessageKey getMessageKey(EnumMessageKeyResolver<ActionConfirmationStatus> baseKey, PasswordInputDTO input, ActionConfirmationMode mode)
public static boolean isCanConfirm(PasswordInputDTO input, ActionConfirmationMode mode)