public abstract class AEDPPaymentTaskCmdImpl extends AEDPTaskCmdImpl implements AEDPPaymentTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AEDPPaymentTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getErrorMessageMap()
This method returns the map containing error message of each Payment Instruction.
|
java.lang.Integer |
getStoreId()
This method gets the current store id.
|
void |
insertActionListToActionDetailHash(java.lang.Long piId,
java.util.List actions)
This method inserts actions list to the HashMap ,piId is key
|
void |
insertActionListToEditActionDetailHash(java.lang.Long piId,
java.util.List actions)
This method inserts actions list to edit actions HashMap.
|
boolean |
isBgJobInWorking()
This method gets the current pending status of the order.
|
boolean |
isProcessBGExecutableInFG()
This method judges if the backend job could be executable in foreground.
|
void |
reset()
This method resets the command fields.
|
void |
setBgJobStatusInDb(java.lang.Integer bgJobStatus)
This method sets the background job status on the current order.
|
void |
setErrorMessageMap(java.util.Map localErrorMessageMap)
This method sets the map containing error message of each Payment Instruction.
|
void |
setStoreId(java.lang.Integer integer)
This method sets the current store id.
|
java.lang.String |
toString()
This method converts this request data into a human-readable string.
|
void |
validateInsideProcessFG()
This method validates the required information inside the ProcessFG() method of each
payment task commands.
|
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, performExecute, 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, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public boolean isBgJobInWorking() throws InternalException, J2EEException, InputException
EDPOrder
object.InternalException
- This exception is thrown if an internal logic error is detected.J2EEException
- This exception is thrown if EJBs cannot be accessed.InputException
- This exception is thrown if an invalid order id / store id combination is provided in the
request.public void setBgJobStatusInDb(java.lang.Integer bgJobStatus) throws J2EEException, InputException
bgJobStatus
- the new statusJ2EEException
- if EJBs cannot be accessedInputException
- if an invalid status or invalid order is selectedpublic java.lang.String toString()
toString
in class AEDPTaskCmdImpl
public void validateInsideProcessFG() throws EDPException
validateInsideProcessFG
in class AEDPTaskCmdImpl
EDPException
- If error occurspublic java.util.Map getErrorMessageMap()
getMessageOfFailedPayments(CommonBaseEvent)
public void setErrorMessageMap(java.util.Map localErrorMessageMap)
localErrorMessageMap
- the map containing error message of each Payment Instructionpublic boolean isProcessBGExecutableInFG()
isProcessBGExecutableInFG
in class AEDPTaskCmdImpl
public void insertActionListToActionDetailHash(java.lang.Long piId, java.util.List actions)
piId
- A Long that specifies the current payment instruction id.actions
- A List that specifies the current actions for this payment instruction.public void insertActionListToEditActionDetailHash(java.lang.Long piId, java.util.List actions)
piId
- A Long that specifies the current payment instruction id.actions
- A List that specifies the current list of actions for this payment instructionpublic java.lang.Integer getStoreId()
getStoreId
in interface ECCommand
getStoreId
in class AbstractECTargetableCommand
public void setStoreId(java.lang.Integer integer)
integer
- An Integer that specifies the current store id.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 AEDPTaskCmdImpl