public interface AdvancedOrderEditEndCmd extends ControllerCommand
The AdvancedOrderEditEndCmd implementation class and AdvancedOrderEditBeginCmd stage an advanced order for editing. Between the execution of the AdvancedOrderEditBeginCmd and AdvancedOrderEndCmd commands, many types of order editing actions can occur (for example, OrderItemUpdateCmd, PIEdit, OrderCopy, and so on.).
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.
The default implementation of this command is AdvancedOrderEditEndCmdImpl.
The AdvancedOrderEditEnd URL is mapped to this command by default.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
The default implementation of this command.
|
static java.lang.String | EC_ORDER_RN
The URL parameter constant.
|
static java.lang.String | NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
void | setOrderId(java.lang.String strOrderId)
Sets an order ID, which is a required field, for edit.
|
static final java.lang.String COPYRIGHT
static final java.lang.String EC_ORDER_RN
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName