public class AOEEndOrderAction extends com.ibm.commerce.telesales.ui.impl.actions.BaseOrderAction implements IModelListener
Constructor and Description |
---|
AOEEndOrderAction()
This default constructor that creates a new action with no input parameters.
|
AOEEndOrderAction(Order order)
This constructor creates a new action with an Order object as input parameter.
|
Modifier and Type | Method and Description |
---|---|
protected void | endOrder(Order order)
This method initializes the "com.ibm.commerce.telesales.endOrder" request.
|
protected TelesalesProperties | getEndOrderParameters(Order order)
This method constructs the parameters for the "com.ibm.commerce.telesales.endOrder" telesales action.
|
java.lang.String | getHelpContextId()
This method retrieves the action's help context identifier.
|
protected TelesalesProperties | getPrepareOrderParameters()
This method constructs the parameters for the "com.ibm.commerce.telesales.prepareOrder" action.
|
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 | postEndOrderAction(Order order, TelesalesRequestStatus status)
This method is called once end order action is completed.
|
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.
|
protected void | prepareOrder()
This method initiates the "com.ibm.commerce.telesales.prepareOrder" request.
|
void | run()
This method performs AOE (Advance Order Edit) End-Order command.
|
void | setSalesOrder(Order order)
This method sets the current sales order.
|
protected void | updateEnablement()
This method returns whether this action should be enabled.
|
public AOEEndOrderAction()
public AOEEndOrderAction(Order order)
protected void endOrder(Order order)
protected void postEndOrderAction(Order order, TelesalesRequestStatus status)
protected void updateEnablement()
protected TelesalesProperties getEndOrderParameters(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 prepareOrder()
protected TelesalesProperties getPrepareOrderParameters()