public class CreateOrderOnSuccessStatusUpdateCmdImpl extends ControllerCommandImpl implements CreateOrderOnSuccessStatusUpdateCmd
Name | Description |
---|---|
inOrderId | required, specifies the order Id to update status |
inExternalOrderId | required, specifies the external order Id which will be update to ORDSTAT table |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASS_NAME
The name of the Command class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CreateOrderOnSuccessStatusUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | flush()
Flush all SQL update statements to the database
|
java.lang.String | getExternalOrderId()
This method returns the external order id.
|
OrderAccessBean | getOrder()
This method returns the Order.
|
java.lang.Long | getOrderId()
This method returns the identifier of the Order to update.
|
void | performExecute()
This method executes the business logic of this command implementation.
|
protected void | raiseCreateOrderOnSuccessEvent()
This method raise create order on success event.
|
protected void | setBuyerLogonId(java.lang.String buyerLogonId)
This method sets the buyer logon id of the order, which is returned by createOrderOnSucess message.
|
void | setExternalOrderId(java.lang.String anExternalOrderId)
This method sets the external order id.
|
void | setOrderId(java.lang.Long anOrderId)
This method sets the identifier of the Order to update.
|
void | setRequestProperties(TypedProperty aReqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
protected void | updateOrderStatus(java.lang.Long nOrderId, java.lang.String externalOrderId)
Update the ORDSTAT records when get CreateOnSucess message.
|
void | validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public CreateOrderOnSuccessStatusUpdateCmdImpl()
public void setOrderId(java.lang.Long anOrderId)
public java.lang.Long getOrderId()
public void setExternalOrderId(java.lang.String anExternalOrderId)
public java.lang.String getExternalOrderId()
public OrderAccessBean getOrder()
protected void setBuyerLogonId(java.lang.String buyerLogonId)
public void performExecute() throws ECException
protected void raiseCreateOrderOnSuccessEvent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException, javax.ejb.FinderException, ECSystemException, ECException
protected void updateOrderStatus(java.lang.Long nOrderId, java.lang.String externalOrderId) throws ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
public void validateParameters() throws ECException
protected void flush() throws ECException