public class ReservePaymentVoidCmdImpl extends AEDPStoreTaskCmdImpl implements ReservePaymentCmd
ReservePaymentCmd
task command.
com.ibm.commerce.inventory.commands.ReleaseOrdersToFulfillmentCmdImpl
.
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 |
---|
ReservePaymentVoidCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getReleaseIds()
This method obtains the list of release ids to be reserved.
|
java.util.HashMap |
getReleases()
This method gets the list of releases to be processed in this request.
|
java.math.BigDecimal |
getReservationAmount()
This method gets the total amount to be reserved.
|
boolean |
isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters
have been set for this command.
|
void |
performExecute()
This method executes the business logic of this command implementation ,
which does nothing here.
|
void |
reset()
This method resets the command fields.
|
void |
setReleases(java.util.HashMap paramReleases)
This method sets the releases to be reserved.
|
void |
setReservationAmount(java.math.BigDecimal paramReservationAmount)
This method sets the total order amount.
|
getCurrency, getOrderAmount, getPaymentInstructions, setCurrency, setOrderAmount, setPaymentInstructions, validateInsideProcessFG
getErrorMessageMap, getStoreId, insertActionListToActionDetailHash, insertActionListToEditActionDetailHash, isBgJobInWorking, isProcessBGExecutableInFG, setBgJobStatusInDb, setErrorMessageMap, setStoreId, toString
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, 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 boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void setReleases(java.util.HashMap paramReleases)
setReleases
in interface ReservePaymentCmd
paramReleases
- A HashMap that represents the list of release IDs
and their amounts to be reserved.public java.util.HashMap getReleases()
public void setReservationAmount(java.math.BigDecimal paramReservationAmount)
setReservationAmount
in interface ReservePaymentCmd
paramReservationAmount
- A BigDecimal that specifies the total amount to be reserved.public java.math.BigDecimal getReservationAmount()
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 in case of a failure.public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPPaymentTaskCmdImpl
public java.util.Collection getReleaseIds()