public class FindCustomerAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
FindCustomerAction()
Default constructor to create a new find customer action.
|
Modifier and Type | Method and Description |
---|---|
Customer | executeFindCustomerRequest()
This method performs the find customer action.
|
protected Customer | findCustomerWithDetails(Customer customer)
This method initiates the com.ibm.commerce.telesales.findCustomer request.
|
protected Store | findStore(Customer customer, java.lang.String storeIdentifier)
This method locates a store for the customer.
|
protected TelesalesProperties | getFindCustomerParameters()
This method returns the TelesalesProperties object from the WidgetManagerInputProperties.
|
protected TelesalesProperties | getFindCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findCustomer service request.
|
java.lang.String | getHelpId()
This method returns the help ID.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method performs the find customer action.
|
public FindCustomerAction()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
protected Customer findCustomerWithDetails(Customer customer)
protected TelesalesProperties getFindCustomerParameters(Customer customer)
protected Store findStore(Customer customer, java.lang.String storeIdentifier)
public void run()
public Customer executeFindCustomerRequest() throws java.lang.InterruptedException, java.lang.Exception
protected TelesalesProperties getFindCustomerParameters()