java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.returns.commands.AdminReturnApproveCmdImpl
Default implementation of the controller command AdminReturnApproveCmd interface.
Approve a return mechandise authorization (RMA) by changing its status to 'APP'.
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.AdminReturnApproveCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
AdminReturnApproveCmdImpl() AdminReturnApproveCmdImpl constructor. |
Method Summary | |
protected void | extendCommand() Extend the command. |
AccessVector | getResources() Gets the vector of resources accessed by this command. |
protected RMAAccessBean | getRMAAB() Get the RMA. |
protected java.sql.Timestamp | getTimestampNow() This will get the NOW timestamp. |
protected java.lang.String | getURL() Get the URL parameter. |
protected boolean | isApproved(RMAItemAccessBean anRMAItemAB) Check to see if an RMA item has been approved (status 'APP' or 'MAN'). |
void | performExecute() Execute the command. |
void | reset() Reset the command. |
void | validateParameters() Checks the following 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, setRequestProperties, 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, setRequestProperties, 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Constructor Detail |
public AdminReturnApproveCmdImpl()
Method Detail |
protected void extendCommand() throws ECException
public AccessVector getResources() throws ECException
protected RMAAccessBean getRMAAB()
protected java.sql.Timestamp getTimestampNow()
protected java.lang.String getURL()
protected boolean isApproved(RMAItemAccessBean anRMAItemAB) throws ECSystemException
public void performExecute() throws ECException
public void reset()
public void validateParameters() throws ECException
which must be set in the command context.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.