com.ibm.commerce.price.commands
Class SetCurrencyPrefCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.price.commands.SetCurrencyPrefCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
SetCurrencyPrefCmd,
TaskCommand
- public class SetCurrencyPrefCmdImpl
- extends
TaskCommandImpl
- implements
SetCurrencyPrefCmd
For each pending order of the shopper, the order item prices are
re-calculated based upon the new shopping currency.
This command calls the following TaskCommands:
This command uses the following AccessBeans:
- See Also:
- Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
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,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
-
Constant Field Values
SetCurrencyPrefCmdImpl
public SetCurrencyPrefCmdImpl()
- SetCurrencyPreferenceCmdImpl constructor.
public void performExecute()
throws ECException
- Execute the command.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
reset
public void reset()
- reset the command.
-
- Overrides:
-
reset
in class
AbstractECTargetableCommand
setCurrency
public void setCurrency(java.lang.String aCurrency)
- Set the preferred currency.
-
- Specified by:
-
setCurrency
in interface
SetCurrencyPrefCmd
-
- Parameters:
aCurrency
- the preferred currency.
validateParameters
public void validateParameters()
throws ECException
- Check mandatory parameters.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException