public class OrderPaymentConfigurablePage 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
Order payment page managed composite name.
|
static java.lang.String | ORDER_BUTTON_BAR_COMPOSITE_ID
Order editor button bar managed composite name.
|
Constructor and Description |
---|
OrderPaymentConfigurablePage() |
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 | getAddOrderPaymentParameters(Payment payment)
Deprecated.
Do not use this method for any customization, rather use action class.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
protected TelesalesProperties | getDeleteOrderPaymentParameters(Payment[] payments)
Deprecated.
Do not use this method for any customization, rather use action class.
|
java.lang.String | getHelpContextId()
Retrieve the page's help context ID.
|
java.lang.String | getHelpResource()
Return the URL for 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.
|
java.lang.String | getTitle()
Returns the title.
|
protected TelesalesProperties | getUpdateOrderItemParameters(Line[] lines)
Deprecated.
This method is obsolete.
|
protected TelesalesProperties | getUpdateOrderPaymentParameters(Payment payment)
Deprecated.
Do not use this method for any customization, rather use action class.
|
protected TelesalesProperties | getUpdateOrderShippingInfoParameters(ShippingInfo newInfo)
Deprecated.
Do not use this method for any customization, rather use action class.
|
boolean | hasRequiredInput()
Returns a boolean indicating whether all the required fields of this page have valid entries.
|
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.updateOrderShippingInformation" 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 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: 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.
protected void addPayment(Payment payment)
This implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.addOrderPayment to the TelesalesJobScheduler.
Subclasses may override.
protected void deletePayment(Payment[] payments)
This implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.deleteOrderPayment to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getAddOrderPaymentParameters(Payment payment)
protected TelesalesProperties getDeleteOrderPaymentParameters(Payment[] payments)
public java.lang.String getHelpContextId()
public java.lang.String getHelpResource()
public java.lang.String getTitle()
protected TelesalesProperties getUpdateOrderPaymentParameters(Payment payment)
protected TelesalesProperties getUpdateOrderItemParameters(Line[] lines)
public void refresh()
public void activate()
protected void updatePayment(Payment payment)
This implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.updateOrderPayment to the TelesalesJobScheduler.
Subclasses may override.
protected void updateShippingInfo(ShippingInfo newInfo)
protected TelesalesProperties getUpdateOrderShippingInfoParameters(ShippingInfo newInfo)
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getPageContentManagedCompositeId()
public java.lang.String getPageIdentifier()
public boolean hasRequiredInput()
public java.lang.String getPageName()