java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.pvc.commands.ReEnterPasswordCmdImpl
Reenter password to execute password protected command.
Behavior
Extracts parameter "reenterpw" and "URL" from request. If parameters are not found ParameterNotFoundException will be thrown.
Appends pair of name and value of "reenterpw" to value of "URL"
Sentds redirect instruction to the rebuilt URL.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.pvc.commands. ReEnterPasswordCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
ReEnterPasswordCmdImpl() |
Method Summary | |
---|---|
boolean |
isGeneric() Check to see if this is a generic command. |
boolean |
isRetriable() Check to see if this command is retriable on transaction rollback exception. |
void |
performExecute() The business logic for this command. |
void |
setRequestProperties(
TypedProperty hshReqParameters) Recieve the parameters for this command, and stored into member varilables. |
void |
validateParameters() Check the parameters for this command. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
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 |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ReEnterPasswordCmdImpl()
Method Detail |
---|
public boolean isGeneric()
isGeneric
in interface
ControllerCommand
isGeneric
in class
ControllerCommandImpl
public boolean isRetriable()
isRetriable
in interface
ControllerCommand
isRetriable
in class
ControllerCommandImpl
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- If an error occures while processing this method.public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
This method does the following in the list.
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
hshReqParameters
- request properties
ECApplicationException
- If an error occurs while processing this
method.public void validateParameters() throws ECException
This method checks the following in the list.
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- If an error occurs while processing this method