public class ResetPasswordRegisterCmdImpl extends TaskCommandImpl implements ResetPasswordRegisterCmd
This task command is used to reset the password of a user that is logged onto WebSphereCommerce.
Before executing this task command, the methods listed below must be invoked.
setNewPassword setNewPasswordVerify setOldPassword
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright statement.
|
static java.lang.String |
ERRTASK_NAME
The error task view.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ResetPasswordRegisterCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes this command.
|
void |
setErrorRedirectURL(java.lang.String newErrorRedirectURL)
Sets the error URL to which to redirect if specified.
|
void |
setNewPassword(java.lang.String strNewPassword)
Sets the new password of the user whose
password is being changed.
|
void |
setNewPasswordVerify(java.lang.String strNewPasswordVerify)
Sets the confirm new password string of the user
whose password is being changed.
|
void |
setOldPassword(java.lang.String strOldPassword)
Sets the old password of the user whose
password is being changed.
|
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 COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setErrorRedirectURL(java.lang.String newErrorRedirectURL)
setErrorRedirectURL
in interface ResetPasswordRegisterCmd
strNewPassword
- New password.public void setNewPassword(java.lang.String strNewPassword)
setNewPassword
in interface ResetPasswordRegisterCmd
strNewPassword
- The new password.public void setNewPasswordVerify(java.lang.String strNewPasswordVerify)
setNewPasswordVerify
in interface ResetPasswordRegisterCmd
strNewPasswrdVerify
- Confirmation of new password.public void setOldPassword(java.lang.String strOldPassword)
setOldPassword
in interface ResetPasswordRegisterCmd
strOldPassword
- Old password to be changed.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException