public interface AdvancedOrderEditBeginCmd extends ControllerCommand
This AdvancedOrderEditBeginCmd implementation class and AdvancedOrderEditEndCmd command stage an advanced order for editing. Between the execution of the AdvancedOrderEditBeginCmd and AdvancedOrderEditEndCmd 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 command context. After the command is invoked, the order is in an editable state. Orders that are in cancel (CAN) or close (CLS) state cannot be edited. An exception is thrown if an invalid order is passed. The command also requires that a qualified editorId be passed. The editorId must be a registered member; otherwise, an exception is thrown.
If the command is successful, the major status of an order will be set to EDT. 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 AdvancedOrderEditBeginCmdImpl. }. The AdvancedOrderEditBegin 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
URL parameter constant.
|
static java.lang.String | NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Short | getOrderVersion()
This method returns the order version number.
|
void | setOrder(OrderAccessBean abOrder)
This method sets an order ID, a required field, for edit.
|
void | setOrderId(java.lang.String strOrderId)
This method sets an order ID, a required field, for edit.
|
void | setTakeOverLock(java.lang.String takeOverLock)
This method sets take over lock parameter.
|
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
void setOrderId(java.lang.String strOrderId)
void setOrder(OrderAccessBean abOrder)
java.lang.Short getOrderVersion()
void setTakeOverLock(java.lang.String takeOverLock)