public class FindOrderAction extends com.ibm.commerce.telesales.ui.impl.actions.BaseOrderAction implements IModelListener
Constructor and Description |
---|
FindOrderAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
protected Customer | findCustomer(Customer customer)
This method initiates the com.ibm.commerce.telesales.findCustomer request.
|
TelesalesRequestStatus | findOrder(Order order)
This method performs the find order action.
|
protected Order | findOrderComments(Order order)
Deprecated.
this method was being called as part of this action to fetch order comments and order change comments as part of sales order. As the order comments and order changes comments are fetched now as separate requests this method is no longer being used.
|
protected Order | findOrderWithDetails(Order order)
This method finds a single order with detail data accompanying the response data.
|
protected Store | findStore(java.lang.String storeId)
This method locates the store for the order using store identifier.
|
protected TelesalesProperties | getFindCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findCustomer service request.
|
protected TelesalesProperties | getFindOrderCommentsParameters(Order order)
Deprecated.
this method was being called as part of this action to fetch order comments and order change comments as part of sales order. As the order comments and order changes comments are fetched now as separate requests this method is no longer being used.
|
protected TelesalesProperties | getFindOrderParameters(Order order)
This method constructs the parameters for the com.ibm.commerce.telesales.findOrder service request.
|
java.lang.String | getHelpId()
This method retrieves the help context identifier.
|
protected java.lang.String | getIsOrderLevelDetails()
This method used whether to return get order level details or not.
|
protected java.lang.String | getOrderItems()
This method is used to return value whether to get order items or not.
|
java.util.List | getOrders()
This method returns the list of orders that are to be opened by this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method launches the Find Order dialog to search for orders with the minimum amount of data returned.
|
void | setOrders(java.util.List orders)
This method set a list of orders that are to be opened by this action.
|
public FindOrderAction()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void setOrders(java.util.List orders)
public java.util.List getOrders()
public void run()
protected Customer findCustomer(Customer customer)
protected Order findOrderComments(Order order)
public TelesalesRequestStatus findOrder(Order order) throws java.lang.InterruptedException, java.lang.Exception
protected Order findOrderWithDetails(Order order)
Currently, the ShowSalesOrder BOD (Business Object Document) does not return all customer-related information. This method may perform a find customer to ensure all customer information is stored in the customer data bean. This requires if the order's customer is not already in the model.
protected TelesalesProperties getFindCustomerParameters(Customer customer)
protected TelesalesProperties getFindOrderParameters(Order order)
protected TelesalesProperties getFindOrderCommentsParameters(Order order)
protected Store findStore(java.lang.String storeId)
protected java.lang.String getIsOrderLevelDetails()
protected java.lang.String getOrderItems()