public class EditCustomerAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
EditCustomerAction()
Default constructor to create a new edit action.
|
Modifier and Type | Method and Description |
---|---|
protected Customer | getCustomerToUpdate()
This method returns the Customer object from the WidgetManagerInputProperties.
|
Customer | getForCustomer()
This method returns the customer.
|
java.lang.String | getHelpId()
This method returns the help ID.
|
protected TelesalesProperties | getUpdateCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.updateCustomer action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method performs the customer edit action.
|
void | setForCustomer(Customer customer)
This method sets the customer.
|
TelesalesRequestStatus | update()
This method performs the update customer action.
|
public EditCustomerAction()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void run()
public void setForCustomer(Customer customer)
public Customer getForCustomer()
public TelesalesRequestStatus update() throws java.lang.InterruptedException, java.lang.Exception
protected Customer getCustomerToUpdate()
protected TelesalesProperties getUpdateCustomerParameters(Customer customer)