public class OrderItemApplyAction
extends com.ibm.commerce.telesales.ui.impl.actions.BaseOrderAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
OrderItemApplyAction()
The default constructor that creates a new action object.
|
Modifier and Type | Method and Description |
---|---|
void | add()
This method adds line items to order.
|
java.lang.String | getActionDefinitionId()
This method returns the command identifier.
|
protected TelesalesProperties | getAddItemParameters(Line[] lineItems)
Constructs the parameters for the "com.ibm.commerce.telesales.addOrderItem" or "com.ibm.commerce.telesales.addQuoteItem" service requests.
|
java.lang.String | getId()
This method returns a unique identifier for this action, or null if it has none.
|
protected Line[] | getLinesToAdd()
Constructs the method parameters for the "com.ibm.commerce.telesales.addOrderItem" action.
|
protected void | postAddAction(TelesalesRequestStatus status)
This method will be called once run action is completed and require any post action.
|
void | run()
This method executes the order item apply action.
|
public static final java.lang.String COPYRIGHT
public OrderItemApplyAction()
public void run()
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
public void add()
protected Line[] getLinesToAdd()
protected TelesalesProperties getAddItemParameters(Line[] lineItems)
protected void postAddAction(TelesalesRequestStatus status)