public class SendPasswordNotificationCmdImpl extends TaskCommandImpl implements SendPasswordNotificationCmd
Sends an e-mail notification informing the user of one of the following:
Before executing this task command, the methods listed below must be invoked.
setLogonId setPasswordError View Task: SendPasswordNotificationErrorView
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ERRTASK_NAME
The error task name.
|
static java.lang.String | RESET_PASSWORD_FORM_URL
The parameter used in the email JSP to specify where the customer needs to go to reset their password when validation code is being used.
|
Constructor and Description |
---|
SendPasswordNotificationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getEmail()
Retrieves the email address of the shopper or administrator to whom a notification will be sent.
|
protected java.lang.String | getLogonId()
Retrieves the logon ID of the shopper or administrator to whom a notification will be sent.
|
protected java.lang.String | getPassword()
Retrieves the password of the shopper or administrator to whom a notification will be sent.
|
protected java.lang.String | getSubject()
Retrieves the subject of the email notification to be sent.
|
protected java.lang.Long | getUsersId()
Retrieves the user ID to whom the email notification will be sent.
|
void | performExecute()
Executes this command.
|
void | setEmail(java.lang.String strEmail)
Sets the email of the user.
|
void | setLogonId(java.lang.String strLogonId)
Sets the logon ID of the user, to which the password notification message is sent.
|
void | setPassword(java.lang.String strPassword)
Sets the new password of the user.
|
void | validateParameters()
Validates the parameters.
|
public static final java.lang.String ERRTASK_NAME
public static final java.lang.String RESET_PASSWORD_FORM_URL
protected java.lang.String getEmail()
protected java.lang.String getLogonId()
protected java.lang.String getPassword()
protected java.lang.String getSubject()
protected java.lang.Long getUsersId()
public void performExecute() throws ECException
public void setLogonId(java.lang.String strLogonId)
public void setPassword(java.lang.String strPassword)
public void validateParameters() throws ECException
public void setEmail(java.lang.String strEmail)