java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.returns.commands.ReturnItemComponentUpdateCmdImpl
Default implementation of the controller command
ReturnItemComponentUpdateCmd
interface. Command to update the
component of a return mechandise authorization (RMA) item.
Parameters
Behaviour
Utilizes these access beans
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.returns.commands. ReturnItemComponentUpdateCmd |
COPYRIGHT,
defaultCommandClassName,
NAME,
RECEIVE_NO,
RECEIVE_YES |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
ReturnItemComponentUpdateCmdImpl() ReturnItemComponentUpdateCmdImpl constructor. |
Method Summary | |
---|---|
protected
java.lang.String |
getReceive(java.lang.Integer index) Get the receive value for the specified index. |
AccessVector |
getResources() Gets the vector of resources accessed by this command. |
protected
RMAItemComponentAccessBean |
getRMAItemComponentAB(java.lang.Integer index) Get the RMA item component access bean for the specified index. |
protected
java.lang.Long |
getRMAItemComponentId(java.lang.Integer index) Get the RMA item component id for the appropriate index. |
protected
java.util.List |
getRMAs() Get the RMAs related to the components. |
protected
java.lang.String |
getURL() Get the redirection URL. |
void |
performExecute() Execute the command. |
void |
reset() Reset the command. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the request properties. |
void |
validateParameters() Check mandatory parameters. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Constructor Detail |
---|
public ReturnItemComponentUpdateCmdImpl()
Method Detail |
---|
protected java.lang.String getReceive(java.lang.Integer index)
index
- which instance of the retreive value to getpublic AccessVector getResources() throws ECException
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
ECException
protected RMAItemComponentAccessBean getRMAItemComponentAB(java.lang.Integer index)
index
- The index.protected java.lang.Long getRMAItemComponentId(java.lang.Integer index) throws InvalidParameterValueException
index
- which instance of the RMA component id value to
get
InvalidParameterValueException
protected java.util.List getRMAs() throws ECSystemException
ECSystemException
protected java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
ControllerCommand
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
aRequestProperties
- request properties
ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
- If required parameters not specified or
parameters are invalid, throws
com.ibm.commerce.exception.ECApplicationException with
ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException