java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.returns.commands.RefreshExpiredRMAItemsCmdImpl
Default implementation of the RefreshExpiredRMAItemsCmd interface. Task command that evaluates whether a return mechandise authorization (RMA) item has expired (via CheckRMAItemExpirationCmd) and calls ReturnItemCreditCalculate and ReturnItemAutoApprove 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.RefreshExpiredRMAItemsCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
RefreshExpiredRMAItemsCmdImpl() RefreshExpiredRMAItemsCmdImpl constructor. |
Method Summary | |
boolean | getRMAItemExpired() Returns whether any RMA item was expired on the RMA |
void | performExecute() Execute the command. |
protected void | refreshRMAitemsIfNecessary() Look for expired RMAitems and refresh them |
void | reset() This method should be called after a command has been executed to reset its states variables. |
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 RefreshExpiredRMAItemsCmdImpl()
Method Detail |
public boolean getRMAItemExpired()
public void performExecute() throws ECException
protected void refreshRMAitemsIfNecessary() throws ECSystemException, ECException
public void reset()
public void setRMAAB(RMAAccessBean rmaAB)
public void setRMAItemABVector(java.util.Vector vRMAItemAB)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.