public class FindQuoteAction extends com.ibm.commerce.telesales.ui.impl.actions.BaseQuoteAction implements IModelListener
Constructor and Description |
---|
FindQuoteAction()
The default constructor that 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.
|
TelesalesRequestStatus | findQuote(Quote quote)
This method performs the find quote action.
|
protected Quote | findQuoteComments(Quote quote)
Deprecated.
this method was being called as part of this action to fetch order comments and order change comments as part of sales order. As the order comments and order changes comments are fetched now as separate requests this method is no longer being used.
|
protected Quote | findQuoteWithDetails(Quote quote)
This method finds a single quote with detail data accompanying the response data.
|
protected Store | findStore(java.lang.String storeId)
This method locates the store for the order as per the store identifier passed.
|
protected TelesalesProperties | getFindCustomerParameters(Customer customer)
This method constructs the parameters for the com.ibm.commerce.telesales.findCustomer service request.
|
protected TelesalesProperties | getFindQuoteCommentsParameters(Quote quote)
Deprecated.
this method was being called as part of this action to fetch order comments and order change comments as part of sales order. As the order comments and order changes comments are fetched now as separate requests this method is no longer being used.
|
protected TelesalesProperties | getFindQuoteParameters(Quote quote)
This method constructs the parameters for the com.ibm.commerce.telesales.findQuote service request.
|
java.lang.String | getHelpId()
This method returns the help context identifier of this action.
|
protected java.lang.String | getIsQuoteLevelDetails()
This method used whether to return get quote level details or not.
|
protected java.lang.String | getQuoteItems()
This method is used to return value whether to get quote items or not.
|
java.util.List | getQuotes()
This method gets the list of quotes 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 Quote dialog to search for quotes with the minimum amount of data returned.
|
void | setQuotes(java.util.List quotes)
This method sets a list of quotes that are to be opened by this action.
|
public FindQuoteAction()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void setQuotes(java.util.List quotes)
public java.util.List getQuotes()
public void run()
protected Customer findCustomer(Customer customer)
protected Quote findQuoteComments(Quote quote)
public TelesalesRequestStatus findQuote(Quote quote) throws java.lang.InterruptedException, java.lang.Exception
protected Quote findQuoteWithDetails(Quote quote)
Currently, the ShowQuote 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 getFindQuoteParameters(Quote quote)
protected TelesalesProperties getFindQuoteCommentsParameters(Quote quote)
protected Store findStore(java.lang.String storeId)
protected java.lang.String getIsQuoteLevelDetails()
protected java.lang.String getQuoteItems()