public class AOEBeginOrderAction extends com.ibm.commerce.telesales.ui.impl.actions.BaseOrderAction implements IModelListener
Constructor and Description |
---|
AOEBeginOrderAction()
The default constructor that creates a new action with no input parameters.
|
AOEBeginOrderAction(Order order)
The constructor that creates a new action with an Order object as input parameter.
|
Modifier and Type | Method and Description |
---|---|
protected void | beginOrder(Order order)
This method initializes the "com.ibm.commerce.telesales.beginOrder" request.
|
protected TelesalesProperties | getBeginOrderParameters(Order order)
This method constructs the parameters for the "com.ibm.commerce.telesales.beginOrder" telesales action.
|
java.lang.String | getHelpContextId()
This method retrieves the action's help context identifier.
|
Order | getSalesOrder()
This method returns the sales order for this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
protected void | postBeginOrderAction(Order order, TelesalesRequestStatus status)
This method will be called once beginOrder action is completed and require any post begin order action.
|
protected void | postRun()
This method will be called once run action is completed to perform any post run actions like resetting the action's parameters etc., Customer may override this method and must call the super implementation.
|
void | run()
This method performs AOE (Advance Order Edit) Begin-Order command.
|
void | setSalesOrder(Order order)
This method sets the current sales order.
|
protected void | updateEnablement()
This method sets the enablement of the action to reflect the current state of the model.
|
public AOEBeginOrderAction()
public AOEBeginOrderAction(Order order)
protected void beginOrder(Order order)
protected void updateEnablement()
protected TelesalesProperties getBeginOrderParameters(Order order)
public java.lang.String getHelpContextId()
public Order getSalesOrder()
public void modelChanged(ModelObjectChangedEvent event)
public void run()
protected void postRun()
public void setSalesOrder(Order order)
protected void postBeginOrderAction(Order order, TelesalesRequestStatus status)