public class OrderItemsConfigurablePage 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 managed composite id. Use MANAGED_COMPOSITE_ITEMS_PAGINATION_ID value as an alternate.
|
static java.lang.String | MANAGED_COMPOSITE_ITEMS_PAGINATION_ID
Order 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
Order items page's pagination top bar managed composite name.
|
Constructor and Description |
---|
OrderItemsConfigurablePage() |
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 content by calling the manager class associated with this page.
|
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 | getDeleteOrderItemParameters(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()
Returns the help resource.
|
com.ibm.commerce.telesales.ui.impl.editors.order.ILineItemControl | getNewLineItemControl()
Deprecated.
|
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 void | getSalesOrderWithDynaKitDetails(Line line)
Submits a request to retrieve the dynamic kit detail.
|
protected TelesalesProperties | getSalesOrderWithDynaKitDetailsParameters(Line line)
Return the parameters for the "com.ibm.commerce.telesales.getSalesOrderWithDynaKitDetails" action.
|
java.lang.String | getTitle()
Returns the title of the editor.
|
protected java.lang.String | getTopButtonBarManagedCompositeId()
This method returns the top button bar managed composite ID.
|
protected TelesalesProperties | getUpdateOrderItemParameters(Line[] lines)
Deprecated.
do not use this method for any customization, rather use action class.
|
protected TelesalesProperties | getUpdateOrderParameters()
Deprecated.
do not use this method for any customization, rather use action class.
|
void | refresh()
This method refreshes the editor page by refreshing the page managed composite and button managed composite.
|
protected void | refreshPricesPressed()
Refreshes the order by executing prepareOrder method.
|
protected void | updateOrder()
Initiates the "com.ibm.commerce.telesales.updateOrder" request.
|
protected void | updateTieCode(Line[] lines, java.lang.String tieCode)
Notifies that the Update action is required.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
Handles widget manager events.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGED_COMPOSITE_ID
public static final java.lang.String MANAGED_COMPOSITE_ITEMS_PAGINATION_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 Order object
Key: INPUT_PROP_PART_CONTROL
Value: Current editor part's Control object
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
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.deleteOrderItem to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getDeleteOrderItemParameters(Line[] lineItems)
public java.lang.String getHelpContextId()
public java.lang.String getHelpResource()
public java.lang.String getTitle()
public com.ibm.commerce.telesales.ui.impl.editors.order.ILineItemControl getNewLineItemControl()
protected void getSalesOrderWithDynaKitDetails(Line line)
protected TelesalesProperties getSalesOrderWithDynaKitDetailsParameters(Line line)
public void refresh()
protected void refreshPricesPressed()
public void activate()
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
protected void updateTieCode(Line[] lines, java.lang.String tieCode)
The OrderSummaryPage implementation of this framework method requests an updateOrderItem to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.updateOrderItem to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getUpdateOrderItemParameters(Line[] lines)
protected void updateOrder()
protected TelesalesProperties getUpdateOrderParameters()
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()