public class FinalizeRefundCmdImpl extends ARefundTaskCmdImpl implements FinalizeRefundCmd
FinalizeRefundCmdImpl
interface.
Behaviour
CREDITDATE
field of each RMA item is filled in with the
current timestamp.
This class utilizes these access beans
RMAItemAccessBean
RMAAccessBean
defaultCommandClassName, NAME
Constructor and Description |
---|
FinalizeRefundCmdImpl()
This method is the default constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the main business logic of this command, which
actually executes the credit according to the refund method and amount to
process.
|
void |
reset()
This method resets the instance variable of this command.
|
void |
validateParameters()
This method checks the mandatory parameters, which checks the following parameters.
|
getCurrency, getCurrentStoreId, getPaymentPolicyId, getRefundInstructions, getRmaId, isProcessBGExecutableInFG, setBgJobStatusInDb, setCurrency, setPaymentPolicyId, setRefundInstructions, setRMAAB, setRmaId, toString, validateInsideProcessFG
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, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
setRMAAB
setRmaId
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
public FinalizeRefundCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- The WebSphere Commerce specific exceptionpublic void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class ARefundTaskCmdImpl
public void validateParameters() throws ECException
Parameters
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If there is no RMAABean or there is no vector of RMAItemAccessBean, throws
com.ibm.commerce.exception.ECApplicationException with ECMessage._ERR_BAD_MISSING_CMD_PARAMETER