public class CheckOrderPaymentAuthorizedCmdImpl extends AEDPPaymentTaskCmdImpl implements CheckOrderPaymentAuthorizedCmd
CheckOrderPaymentAuthorizedCmd
task command.
commandContext |
The command context. |
orderId |
A Long that specifies the current order id. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckOrderPaymentAuthorizedCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
isOrderTotalAuthorized()
This method returns if the order is totally approved in Payment Rule.
|
boolean |
isReadyToCallExecute()
This method checks if the command is ready to be executed.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
Resets the command fields.
|
void |
setOrderTotalAuthorized(java.lang.Boolean authorized)
This method sets if the order is totally approved in Payment Rule.
|
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, 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 CheckOrderPaymentAuthorizedCmdImpl()
public java.lang.Boolean isOrderTotalAuthorized()
isOrderTotalAuthorized
in interface CheckOrderPaymentAuthorizedCmd
public void setOrderTotalAuthorized(java.lang.Boolean authorized)
authorized
- A Boolean that represents if the order is totally approved in Payment Rule.public boolean isReadyToCallExecute()
performExecute()
of this command.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
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 failure
in event-driven payments subcomponent.public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPPaymentTaskCmdImpl