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.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
SendPasswordNotificationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String ERRTASK_NAME
public static final java.lang.String RESET_PASSWORD_FORM_URL
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface SendPasswordNotificationCmd
strLogonId
- Logon ID of the user who receives the notification.public void setPassword(java.lang.String strPassword)
setPassword
in interface SendPasswordNotificationCmd
strPassword
- The password to be sent to the user.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void setEmail(java.lang.String strEmail)
setEmail
in interface SendPasswordNotificationCmd
strEmail
- The email address of user.