com.ibm.commerce.order.commands
Class OrderProcessPostApprovalCmdImpl
java.lang.Object
BusinessFlowCmdImpl
com.ibm.commerce.order.commands.OrderProcessApprovalBaseCmdImpl
com.ibm.commerce.order.commands.OrderProcessPostApprovalCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, OrderProcessPostApprovalCmd, Protectable
- public class OrderProcessPostApprovalCmdImpl
- extends OrderProcessApprovalBaseCmdImpl
- 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.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.order.commands.OrderProcessPostApprovalCmd |
defaultCommandClassName, NAME |
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 class java.lang.Object |
clone, equals, finalize, 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.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
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
- Overrides:
- performExecute in class OrderProcessApprovalBaseCmdImpl
-
- Throws:
- ECException
retrieveNVPs
protected TypedProperty retrieveNVPs(OrderAccessBean orderAB,
TypedProperty newReq)
throws ECException,
javax.naming.NamingException,
FinderException,
java.rmi.RemoteException,
CreateException
- This is a helper method that retrieves the NVPs from the Order Pay Info table.
-
- Parameters:
- orderAB - order access bean.
- newReq - request properties.
- Returns:
- merged
- Throws:
- ECException
- CreateException
- FinderException
- javax.naming.NamingException
- java.rmi.RemoteException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.