public class OrderProcessPreApprovalCmdImpl extends OrderProcessApprovalBaseCmdImpl implements OrderProcessPreApprovalCmd, com.ibm.commerce.ubf.commands.BusinessFlowCmd
Name | Description |
---|---|
orderId | The orderId to be processed. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderProcessPreApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected TypedProperty | extractKnownNVPs(TypedProperty req)
This is a helper method that extracts the NVPs from the request properties and returns the extracted the NVPs.
|
protected java.lang.Long | getOrderId()
Gets the order reference number.
|
void | performExecute()
It calls saveNVPs() to save the request properties to the database and then initializes the instance variable orderFlowEntityBean.
|
protected void | saveNVPs(OrderAccessBean orderAB)
This is a helper method that saves the NVPs from url to the Order Pay Info table and flow context.
|
void | setOrderId(java.lang.Long anOrderId)
Sets the id of the order.
|
void | setRequestProperties(TypedProperty reqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void | setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
|
void | validateParameters()
Checks the validity of the parameters.
|
public static final java.lang.String COPYRIGHT
protected TypedProperty extractKnownNVPs(TypedProperty req) throws ECException, javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.CreateException
protected java.lang.Long getOrderId()
public void performExecute() throws ECException
protected void saveNVPs(OrderAccessBean orderAB) throws ECException, javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.CreateException
public void setOrderId(java.lang.Long anOrderId)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
public void validateParameters() throws ECException