public class QuotePaymentConfigurablePage extends SalesContainerPaymentConfigurablePage
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
Quote payment page managed composite name.
|
static java.lang.String | QUOTE_BUTTON_BAR_COMPOSITE_ID
Order editor button bar managed composite name.
|
Constructor and Description |
---|
QuotePaymentConfigurablePage()
Creates an editor page instance.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
Handles activation of this page.
|
protected void | addPayment(Payment payment)
Notifies that the Add payment action is required.
|
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 | deletePayment(Payment[] payments)
Notifies that the Delete payment action is required.
|
protected TelesalesProperties | getAddQuotePaymentParameters(Payment payment)
Deprecated.
Do not use this method for any customization, rather use action class.AddQuotePaymentAction action.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
protected TelesalesProperties | getDeleteQuotePaymentParameters(Payment[] payments)
Deprecated.
Do not use this method for any customization, rather use action class.DeleteQuotePaymentAction action.
|
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.Value is orderItemsPage.
|
java.lang.String | getTitle()
Gets the title.
|
protected TelesalesProperties | getUpdateQuoteItemParameters(Line[] lines)
Deprecated.
Do not use this method for any customization, this method is not in use.
|
protected TelesalesProperties | getUpdateQuotePaymentParameters(Payment payment)
Deprecated.
Do not use this method for any customization, rather use action class.EditQuotePaymentAction action.
|
protected TelesalesProperties | getUpdateQuoteShippingInfoParameters(ShippingInfo newInfo)
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 | updatePayment(Payment payment)
Notifies that the Update action is required.
|
protected void | updateShippingInfo(ShippingInfo newInfo)
Executes the "com.ibm.commerce.telesales.updateQuoteShippingInformation" request to update the shipping information.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGED_COMPOSITE_ID
public static final java.lang.String QUOTE_BUTTON_BAR_COMPOSITE_ID
protected static final java.lang.String INPUT_PROP_SALES_CONTAINER
protected static final java.lang.String INPUT_PROP_PART_CONTROL
public QuotePaymentConfigurablePage()
protected void addPayment(Payment payment)
The QuoteSummaryPage implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.addQuotePayment to the TelesalresJobScheduler.
Subclasses may override.
protected void deletePayment(Payment[] payments)
The QuoteSummaryPage implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.deleteQuotePayment to the TelesalresJobScheduler.
Subclasses may override.
protected TelesalesProperties getAddQuotePaymentParameters(Payment payment)
protected TelesalesProperties getDeleteQuotePaymentParameters(Payment[] payments)
public java.lang.String getHelpContextId()
public java.lang.String getHelpResource()
public java.lang.String getTitle()
protected TelesalesProperties getUpdateQuotePaymentParameters(Payment payment)
protected void updatePayment(Payment payment)
The QuoteSummaryPage implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.updateQuotePayment to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getUpdateQuoteItemParameters(Line[] lines)
public void refresh()
public void activate()
protected void updateShippingInfo(ShippingInfo newInfo)
protected TelesalesProperties getUpdateQuoteShippingInfoParameters(ShippingInfo newInfo)
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getPageContentManagedCompositeId()
public java.lang.String getPageIdentifier()
public java.lang.String getPageName()
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: Control object from getPartControl()
Key: PAGE_ID
Value: PageIdentifier EDITOR_PAGE_ID
This method calls the ManagedCompositeFactory to create the page content.This method also sets a property pageIdentifier for the EditorPageSenstiveIdResolver to load the composites dynamically.