public class AdvancedOrderEditEndCmdImpl extends com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl implements AdvancedOrderEditEndCmd
Name | Description |
---|---|
orderId | (Required) The identifier of the order undergoing the edit or change. |
This AdvancedOrderEditEndCmd implementation class and AdvancedOrderEditBeginCmd stage an order for editing. Between the execution of AdvancedOrderEditBeginCmd and AdvancedOrderEditEndCmd, many types of order editing actions can occur (for example, OrderItemUpdateCmd, PIEdit, OrderCopy, and so forth).
To invoke this command, a valid order ID has to be passed in from the command context. The order shall be in an editable state. Orders that are in cancel (X) or close (D) state cannot be edited. An exception is thrown if an invalid order ID is passed.
If the command is successful, the editorId of the order will be NULL. 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
The IBM copyright notice field.
|
Constructor and Description |
---|
AdvancedOrderEditEndCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getPoNumber()
Gets the PO number
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | reset()
This method resets its states variables.
|
void | setPoNumber(java.lang.String string)
This method sets the PO number.
|
void | setRequestProperties(TypedProperty reqProperties)
This method sets the request properties of this command implementation.
|
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public java.lang.String getPoNumber()
public void setPoNumber(java.lang.String string)
public void reset()