public class ReturnProcessCmdImpl extends ReturnBaseCmdImpl implements ReturnProcessCmd
ReturnProcessCmd interface.
Finalizes the agreement between the merchant and the customer as to the terms of a return merchandise authorization (RMA).
Parameters
RMAId (mandatory)URL2 (optional)Behaviour
message_ERR_BAD_MISSING_CMD_PARAMETER.
RMAGOODFOR time frame has
expired for any RMA Item. If so, calls the ReturnPrepare command and a redirection will take
place to the RMAExpiryURL if it is specified. If the RMAExpiryURL parameter is not specified, then
ReturnProcess completes normally.
URL2.
Utilizes these access beans
defaultCommandClassName, NAME| Constructor and Description |
|---|
ReturnProcessCmdImpl()
ReturnProcessCmdImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
Gets the vector of resources accessed by this command.
|
void |
performExecute()
Execute the command.
|
void |
reset()
Reset the command.
|
void |
validateParameters()
Check mandatory parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic ReturnProcessCmdImpl()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException - Thrown if WebSphere Commerce problems happenpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECApplicationException - If the RMA is not in the prepared state
throws com.ibm.commerce.exception.ECApplicationException
with ECMessage.ECMessage._ERR_RMA_IN_INVALID_STATE_FOR_COMMAND
ECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void validateParameters()
throws ECException
Parameters
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - If the RMA.status is not in the right state,(Process or edit)
throws com.ibm.commerce.exception.ECApplicationException
with ECMessage.ECMessage._ERR_RMA_IN_INVALID_STATE_FOR_COMMAND
ECApplicationException - If there is no refundPolicyId or if no "approved" redirect URL has been specified,
throws com.ibm.commerce.exception.ECApplicationException
with ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException