public class ChangePaymentCurrencyVoidTaskCmdImpl extends AEDPPaymentTaskCmdImpl implements ChangePaymentCurrencyTaskCmd
ChangePaymentCurrencyTaskCmd
.
Actually it does nothing.
The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base.
Note that please use the void implementation of all commands once you decide to disable the command implementation.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ChangePaymentCurrencyVoidTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the command fields.
|
void |
setOrderNewCurrency(java.lang.String newCurrency)
This method sets the new currency to the Order.
|
void |
setOrderTotalAmount(java.math.BigDecimal newAmount)
This method sets the total amount of current order, since here the
currency has been changed, the total amount is based on the new currency.
|
getErrorMessageMap, getStoreId, insertActionListToActionDetailHash, insertActionListToEditActionDetailHash, isBgJobInWorking, isProcessBGExecutableInFG, setBgJobStatusInDb, setErrorMessageMap, setStoreId, toString, validateInsideProcessFG
getCurrency, getEdpException, getEDPOrderId, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, getStatus, isIdempotent, isProcessBGTasksRequired, resetServices, setBGProcessFinished, setEdpException, setEDPOrderId, setEDPResults, setOrderChannel, setOrderId, setProcessBGTasksRequired, setStatus
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, wait, wait, wait
getCurrency, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, setEDPResults, setOrderId
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, validateParameters
public static final java.lang.String COPYRIGHT
public ChangePaymentCurrencyVoidTaskCmdImpl()
public void setOrderTotalAmount(java.math.BigDecimal newAmount)
setOrderTotalAmount
in interface ChangePaymentCurrencyTaskCmd
newAmount
- A BigDecimal that specifies the new total amount of
the order based on the new currency.public void setOrderNewCurrency(java.lang.String newCurrency)
setOrderNewCurrency
in interface ChangePaymentCurrencyTaskCmd
newCurrency
- A String that specifies the new currency of the order.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- This exception is thrown when any kind of EDPExceptions catched.public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPPaymentTaskCmdImpl