public class FindReturnAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
FindReturnAction()
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 Return | findReturnWithDetails(Return rma)
This method finds a return with detail data accompanying the response data.
|
protected Store | findStore(java.lang.String storeId)
This method locates the store for the return.
|
protected TelesalesProperties | getFindCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findCustomer action.
|
protected TelesalesProperties | getFindReturnParameters(Return return_)
This method constructs the parameters for the com.ibm.commerce.telesales.findReturn telesales action.
|
java.lang.String | getHelpId()
This method returns the help id of this action.
|
java.util.List | getReturns()
This method gets the list of returns 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 Returns dialog to search for returns with the minimum amount of data returned.
|
void | setReturns(java.util.List returns)
This method set a list of returns that are to be opened by this action.
|
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void setReturns(java.util.List returns)
public java.util.List getReturns()
public void run()
protected Customer findCustomer(Customer customer)
protected Return findReturnWithDetails(Return rma)
protected TelesalesProperties getFindCustomerParameters(Customer customer)
protected TelesalesProperties getFindReturnParameters(Return return_)
protected Store findStore(java.lang.String storeId)