public class OrderItemDeleteAction
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 |
---|
OrderItemDeleteAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
void | deleteOrderItem()
Notifies that a Delete action is required.
|
java.lang.String | getActionDefinitionId()
This method returns the command identifier.
|
protected TelesalesProperties | getDeleteOrderItemParameters(Line[] lineItems)
Constructs the parameters for the "com.ibm.commerce.telesales.deleteOrderItem" action.
|
java.lang.String | getId()
This method returns a unique identifier for this action, or null if it has none.
|
protected Line[] | getLinesToDelete()
Constructs the method parameters for the "com.ibm.commerce.telesales.deleteOrderItem" action.
|
protected void | postDeleteOrderItemsAction(TelesalesRequestStatus status)
This method will be called once run action is completed and require any post action.
|
void | run()
This method executes the action to delete an item from order.
|
public static final java.lang.String COPYRIGHT
public OrderItemDeleteAction()
public void run()
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
public void deleteOrderItem()
This implementation of this framework method requests a delete item to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.deleteOrderItem to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getDeleteOrderItemParameters(Line[] lineItems)
protected Line[] getLinesToDelete()
protected void postDeleteOrderItemsAction(TelesalesRequestStatus status)