public class FindOrderItemsAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
FindOrderItemsAction()
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.
|
protected Order | findOrderWithDetails(Order order)
This method finds a single order with detail data accompanying the response data.
|
protected TelesalesProperties | getFindCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findCustomer service request.
|
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 ID.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method launches the Find Order Item dialog to search for orders with the minimum amount of data returned.
|
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void run()
protected Customer findCustomer(Customer customer)
protected Order findOrderWithDetails(Order order)
ShowSalesOrder BOD 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)