com.ibm.commerce.order.commands
Class OrderProcessPostApprovalCmdImpl
com.ibm.commerce.order.commands.OrderProcessPostApprovalCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, OrderProcessPostApprovalCmd, Protectable
- public class OrderProcessPostApprovalCmdImpl
- implements OrderProcessPostApprovalCmd
This command is called when the order is approved or the order does not require approval.
It will call OrderProcessCmd to do the real order processing.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
void |
performExecute()
It calls retrieveNVPs() to get the request properties saved in the OrderProcessPreApprovalCmd
and calls OrderProcessCmd with the request property to do the order processing. |
protected TypedProperty |
retrieveNVPs(OrderAccessBean orderAB,
TypedProperty newReq)
This is a helper method that retrieves the NVPs from the Order Pay Info table. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
OrderProcessPostApprovalCmdImpl
public OrderProcessPostApprovalCmdImpl()
performExecute
public void performExecute()
throws ECException
- It calls retrieveNVPs() to get the request properties saved in the OrderProcessPreApprovalCmd
and calls OrderProcessCmd with the request property to do the order processing.
- Specified by:
performExecute
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
retrieveNVPs
protected TypedProperty retrieveNVPs(OrderAccessBean orderAB,
TypedProperty newReq)
throws ECException,
javax.naming.NamingException,
javax.ejb.FinderException,
java.rmi.RemoteException,
javax.ejb.CreateException
- This is a helper method that retrieves the NVPs from the Order Pay Info table.