java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.returns.commands.RePrepareExpiredRMACmdImpl
Default implementation of the Task command
RePrepareExpiredRMACmd
interface. Task command that evaluates
whether return mechandise authorization (RMA) has expired (via
CheckRMAItemExpirationCmd) and re-prepares (via ReturnPrepare) if so.
Utilizes these access beans
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.returns.commands. RePrepareExpiredRMACmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
RePrepareExpiredRMACmdImpl() RePrepareExpiredRMACmdImpl constructor. |
Method Summary | |
---|---|
protected
void |
callReturnPrepare() Calls ReturnPrepareCmd and commits changes back to RMA item entity beans. |
boolean |
getRMAExpired() Returns whether the RMA was expired |
void |
performExecute() Execute the command. |
void |
reset() This method should be called after a command has been executed to reset its states variables. |
void |
setRequestProperties(
TypedProperty originalRequestProperties) The request properties to be passed to the controller command |
void |
setRMAAB(
RMAAccessBean rmaAB) Set the RMA being accessed. |
void |
setRMAItemABVector(java.util.Vector vRMAItemAB) Set the RMA items to evaluate for RMA approval |
void |
validateParameters() Performs parameter checking. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
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 |
Constructor Detail |
---|
public RePrepareExpiredRMACmdImpl()
Method Detail |
---|
protected void callReturnPrepare() throws ECException
ECException
public boolean getRMAExpired()
getRMAExpired
in interface
RePrepareExpiredRMACmd
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setRequestProperties(TypedProperty originalRequestProperties)
setRequestProperties
in interface
RePrepareExpiredRMACmd
originalRequestProperties
- incoming request
propertiespublic void setRMAAB(RMAAccessBean rmaAB)
setRMAAB
in interface
RePrepareExpiredRMACmd
rmaAB
- the RMA access bean.public void setRMAItemABVector(java.util.Vector vRMAItemAB)
setRMAItemABVector
in interface
RePrepareExpiredRMACmd
vRMAItemAB
- vector of RMA item access
beans.public void validateParameters() throws ECException
AbstractECTargetableCommand
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException