public class FindOrgAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
FindOrgAction()
Default constructor to create a new FindOrgAction.
|
Modifier and Type | Method and Description |
---|---|
TelesalesRequestStatus | executeFindOrganizationRequest()
This method performs find organization action.
|
protected Organization | findOrganizationWithDetails(Organization organization)
This method initiates the com.ibm.commerce.telesales.findOrganization request.
|
java.lang.String | getActionDefinitionId()
This method gets the action definition ID.
|
protected Customer | getCustomerToFindOrganization()
This method returns the Customer object from the WidgetManagerInputProperties.
|
protected TelesalesProperties | getFindOrganizationParameters(Organization organization)
This method constructs the parameters for the "com.ibm.commerce.telesales.findOrganization" action.
|
java.lang.String | getId()
This method gets the ID for this action.
|
TelesalesProperties | getOrganisationFindParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findOrganization service request.
|
void | modelChanged(ModelObjectChangedEvent event)
The FindOrgWorkbenchActionDelegate implementation sets the enablement state.
|
void | run()
This method launches the Find Organization dialog.
|
protected void | updateEnablement()
This method updates the action enablement to reflect the current model state.
|
public FindOrgAction()
protected void updateEnablement()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
protected TelesalesProperties getFindOrganizationParameters(Organization organization)
protected Organization findOrganizationWithDetails(Organization organization)
public void run()
public TelesalesRequestStatus executeFindOrganizationRequest() throws java.lang.InterruptedException, java.lang.Exception
protected Customer getCustomerToFindOrganization()
public TelesalesProperties getOrganisationFindParameters(Customer customer)