public class QueryPIsCmdImpl extends AEDPPaymentTaskCmdImpl implements QueryPIsCmd
QueryPIsCmd
task command.
QueryHandler
to get the payment
instructions of current order.
orderId |
A Long that indicates the id of the current order. |
commandContext |
The command context. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
QueryPIsCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
getPIs()
This method gets the list of payment instructions.
|
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()
This method resets the command fields.
|
void |
setMaskSensitiveData(boolean value)
This method sets if sensitive data is to be masked in payment instructions.
|
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 void setMaskSensitiveData(boolean value)
This method sets if sensitive data is to be masked in payment instructions.
The default is to mask the sensitive data if this method is not invoked.
setMaskSensitiveData
in interface QueryPIsCmd
value
- A boolean that indicates if sensitive data is
to be masked in payment instructions.public java.util.ArrayList getPIs()
getPIs
in interface QueryPIsCmd
public boolean isReadyToCallExecute()
This method checks if the command is ready to be executed.
This method is called by the WC Command Framework to check if all mandatory parameters have
been properly set for this command. This is done before the Framework calls the
performExecute
method of the command.
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
This method executes the business logic of this command implementation.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- this exception is thrown for any kind of failure
coming from event-driven payments subcomponentpublic 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