public class QuoteItemsConfigurablePage extends SalesContainerConfigurableItemsPage
This page can be extended.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
protected static java.lang.String | INPUT_PROP_PART_CONTROL
Page part control input property name.
|
protected static java.lang.String | INPUT_PROP_SALES_CONTAINER
Sales Container input property name.
|
static java.lang.String | MANAGED_COMPOSITE_ID
Deprecated.
This is deprecated and can use MANAGED_COMPOSITE_ITEMS_PAGINATION_ID as an alternate id.
|
static java.lang.String | MANAGED_COMPOSITE_ITEMS_PAGINATION_ID
quote items page managed composite with pagination enabled name.
|
static java.lang.String | ORDER_BUTTON_BAR_COMPOSITE_ID
Order editor button bar managed composite name.
|
static java.lang.String | PAGINATION_MANAGED_COMPOSITE_ID
Quote items page's pagination top bar managed composite name.
|
Constructor and Description |
---|
QuoteItemsConfigurablePage() |
Modifier and Type | Method and Description |
---|---|
void | activate()
Handles activation of this page.
|
protected org.eclipse.swt.widgets.Control | createPageContent(org.eclipse.swt.widgets.Composite parent)
Creates the quote customer information content.
|
protected void | delete(Line[] lineItems)
Notifies that a Delete action is required.
|
void | doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
Saves the contents of this page.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
protected TelesalesProperties | getDeleteQuoteItemParameters(Line[] lineItems)
Deprecated.
Do not use this method for any customization, rather use action class.
|
java.lang.String | getHelpContextId()
Retrieves the page's help context ID.
|
java.lang.String | getHelpResource()
Retrieves the URL to the help resource.
|
protected java.lang.String | getPageContentManagedCompositeId()
This method returns the page content managed composite ID.
|
java.lang.String | getPageIdentifier()
Returns the page id.
|
java.lang.String | getPageName()
This method returns unique page name.
|
protected TelesalesProperties | getQuoteWithDynaKitDetailsParameters(Line line)
Return the parameters for the "com.ibm.commerce.telesales.getSalesOrderWithDynaKitDetails" action.
|
protected void | getSalesOrderWithDynaKitDetails(Line line)
Submits a request to retrieve the dynamic kit detail.
|
java.lang.String | getTitle()
Gets the title.
|
protected java.lang.String | getTopButtonBarManagedCompositeId()
This method returns the top button bar managed composite ID.
|
void | refresh()
This method refreshes the editor page by refreshing the page managed composite and button managed composite.
|
protected void | refreshPricesPressed()
Refreshes the quote by executing prepareQuote method.
|
protected void | saveQuote()
This implementation saves the Quote.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
Handles widget manager events.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGED_COMPOSITE_ITEMS_PAGINATION_ID
public static final java.lang.String MANAGED_COMPOSITE_ID
public static final java.lang.String PAGINATION_MANAGED_COMPOSITE_ID
public static final java.lang.String ORDER_BUTTON_BAR_COMPOSITE_ID
protected static final java.lang.String INPUT_PROP_SALES_CONTAINER
protected static final java.lang.String INPUT_PROP_PART_CONTROL
protected org.eclipse.swt.widgets.Control createPageContent(org.eclipse.swt.widgets.Composite parent)
Key: INPUT_PROP_SALES_CONTAINER
Value: Current editor's Quote object
Key: INPUT_PROP_PART_CONTROL
Value: Control object from getPartControl()
This method calls the ManagedCompositeFactory to create the page content.
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
protected void saveQuote()
protected void delete(Line[] lineItems)
This implementation of this framework method requests a delete item to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.deleteQuoteItem to the TelesalesJobScheduler.
protected TelesalesProperties getDeleteQuoteItemParameters(Line[] lineItems)
public java.lang.String getHelpContextId()
public java.lang.String getHelpResource()
public java.lang.String getTitle()
public void refresh()
protected void refreshPricesPressed()
public void activate()
protected void getSalesOrderWithDynaKitDetails(Line line)
protected TelesalesProperties getQuoteWithDynaKitDetailsParameters(Line line)
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getPageContentManagedCompositeId()
public java.lang.String getPageIdentifier()
protected java.lang.String getTopButtonBarManagedCompositeId()
public java.lang.String getPageName()