java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.security.commands.SendPasswordNotificationCmdImpl
Sends an email notification informing the user of their new password.
Before executing this task command, the methods listed below must be invoked.
setLogonId setPasswordError View Task: SendPasswordNotificationErrorView
Field Summary | |
---|---|
static java.lang.String |
ERRTASK_NAME Error task name. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.security.commands. SendPasswordNotificationCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
SendPasswordNotificationCmdImpl() |
Method Summary | |
---|---|
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() Execute the command. |
void |
setLogonId(java.lang.String strLogonId) Sets the logon ID of the user, to which the password notification message should be sent. |
void |
setPassword(java.lang.String strPassword) Sets the new password of the user. |
void |
validateParameters() Validates the parameters. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String ERRTASK_NAME
Constructor Detail |
---|
public SendPasswordNotificationCmdImpl()
Method Detail |
---|
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
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface
SendPasswordNotificationCmd
strLogonId
- Logon ID of user to receive
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