public class AdvancedOrderEditBeginCmdImpl extends com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl implements AdvancedOrderEditBeginCmd
Name | Description |
---|---|
orderId | (Required) The identifier of the order to edit or change. |
editorId | An authorized and logged in member who invoked the AdvancedOrderEditBeginCmd command. |
To invoke this command:
After the command is successful executed, the status of order will change to E unless the status was P, NEW, and E. And the order will not be processed by the system until the order gets submitted again.
If unsuccessful, the command throws the ECException.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright statement.
|
Constructor and Description |
---|
AdvancedOrderEditBeginCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | createNewOrderHistory(java.lang.String status)
To check if we need to create a new copy of the order history.
|
java.lang.Short | getOrderVersion()
This method returns the order version number.
|
protected void | openOrder(OrderAccessBean myOrder)
Performs the required tasks to open the order number and calls the setEditor() method.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setEditor(OrderAccessBean anOrder)
Sets the editor ID with the value of the login ID.
|
void | setRequestProperties(TypedProperty reqProperties)
This method sets the requestProperties for the command.
|
void | setResponseProperties()
Set the response properties.
|
void | setTakeOverLock(java.lang.String takeOverLock)
Set take over lock parameter
|
protected void | validateOrderStatus(java.lang.String status)
This method checks whether the order is in valid status to edit.
|
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
protected boolean createNewOrderHistory(java.lang.String status)
protected void openOrder(OrderAccessBean myOrder) throws ECException
public void setEditor(OrderAccessBean anOrder) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Short getOrderVersion()
public void setResponseProperties()
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void setTakeOverLock(java.lang.String takeOverLock)
protected void validateOrderStatus(java.lang.String status) throws ECException