public class EDPDepositableAmountProcessCmdImpl extends ControllerCommandImpl implements EDPDepositableAmountProcessCmd
The default implementation for EDPDepositableAmountProcessCmd
.
It acts as wrapper for payments rules processDepositableAmount API. It tries to deposit amounts that have been accumulated.
This command is typically executed as a site-level scheduled command.
defaultCommandClassName, NAME
Constructor and Description |
---|
EDPDepositableAmountProcessCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method performs the main business logic of the command.
|
void |
postExecute() |
void |
processDepositForOrder(java.lang.Long orderId)
This method processes the deposit action for an order.
|
void |
reset()
This method resets the command fields.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if something goes wrong.public void postExecute()
postExecute
in interface com.ibm.websphere.command.CacheableCommand
postExecute
in class com.ibm.websphere.command.CacheableCommandImpl
CacheableCommand.postExecute()
public void processDepositForOrder(java.lang.Long orderId) throws EDPException, J2EEException, ECException
orderId
- Current order idEDPException
- In case of any failuresJ2EEException
- In case of any failuresECException
- In case of any failurespublic 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 AbstractECTargetableCommand