public class SalesContainerItemPageManager extends StandardWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ACTION_PROPERTY
Deprecated.
Action property identifier value.
|
protected java.lang.String[] | actionValue_
Deprecated.
More action values.
|
protected org.eclipse.swt.events.SelectionListener | cacheSortListener_
Deprecated.
Selection listener on a table column.
|
static java.lang.String | CONFIGURE_ACTION_VALUE
Deprecated.
Configure action identifier value.
|
static java.lang.String | CONTRACT_COLUMN
Deprecated.
Contract column's columnType property value.
|
static java.lang.String | COPYRIGHT
Deprecated.
IBM copyright notice field.
|
static java.lang.String | CREATE_DATE_LABEL
Deprecated.
Create date label's labelType property value.
|
static java.lang.String | CURRENT_ITEM
Deprecated.
Current line item property.
|
protected java.lang.String | defaultShipModeDescription_
Deprecated.
Default ship mode description.
|
static java.lang.String | DEFER_ADD_ROW
Deprecated.
Defer add row property.
|
static java.lang.String | DEFER_APPLY_ROW
Deprecated.
Defer add row property.
|
static java.lang.String | DETAILS_ACTION_VALUE
Deprecated.
Details action identifier value.
|
static java.lang.String | EST_SHIP_DATE
Deprecated.
Estimated ship date column's columnType property value.
|
static java.lang.String | EVENT_ADD_ITEM
Deprecated.
Add button selected event property.
|
static java.lang.String | EVENT_APPLY_ITEM
Deprecated.
Apply button selected event property.
|
static java.lang.String | EVENT_COLLAPSE_FIND
Deprecated.
Close find button selected event property.
|
static java.lang.String | EVENT_CONFIGURE
Deprecated.
Details selected event property.
|
static java.lang.String | EVENT_COPY_ITEM
Deprecated.
Copy button selected event property.
|
static java.lang.String | EVENT_DELETE_ITEM
Deprecated.
Delete button selected event property.
|
static java.lang.String | EVENT_DETAILS
Deprecated.
Details selected event property.
|
static java.lang.String | EVENT_EXPAND_FIND
Deprecated.
Expand find button selected event property.
|
static java.lang.String | EVENT_EXPEDITE_ALL
Deprecated.
Expedite all selected event property.
|
static java.lang.String | EVENT_FIND_FIRST_ITEM
Deprecated.
Find first button selected event property.
|
static java.lang.String | EVENT_FIND_ITEM
Deprecated.
Find button selected event property.
|
static java.lang.String | EVENT_FIND_LAST_ITEM
Deprecated.
Find last button selected event property.
|
static java.lang.String | EVENT_FIND_NEXT_ITEM
Deprecated.
Find next button selected event property.
|
static java.lang.String | EVENT_FIND_PREVIOUS_ITEM
Deprecated.
Find previous button selected event property.
|
static java.lang.String | EVENT_FIND_PRODUCT
Deprecated.
Find product dialog event property.
|
static java.lang.String | EVENT_FOCUS_INVALID
Deprecated.
Focus invalid event.
|
static java.lang.String | EVENT_FOCUS_LOST_REQ_DATE
Deprecated.
Request date focus lost event property.
|
static java.lang.String | EVENT_ID_DELETE
Deprecated.
Delete event identifier value.
|
static java.lang.String | EVENT_ID_HANDLE_SHIPPING_CARRIER
Deprecated.
Handle shipping event identifier value.
|
static java.lang.String | EVENT_ID_HANDLE_SHIPPING_INSTRUCTIONS
Deprecated.
Handle shipping instruction event identifier value.
|
static java.lang.String | EVENT_ID_REFRESH_CONTAINER
Deprecated.
Refresh container event identifier value.
|
static java.lang.String | EVENT_ID_REPRICE
Deprecated.
Reprice event identifier value.
|
static java.lang.String | EVENT_ID_SHOW_DETAILS
Deprecated.
Details event identifier value.
|
static java.lang.String | EVENT_ID_SYNC_ASSOCIATIONS
Deprecated.
Synchronize associations event identifier value.
|
static java.lang.String | EVENT_ID_UPDATE_ORDER
Deprecated.
Update order event identifier value.
|
static java.lang.String | EVENT_ID_UPDATE_TIE
Deprecated.
Update tie items event identifier.
|
static java.lang.String | EVENT_ITEM_SELECTION_CHANGED
Deprecated.
Table item selection event property.
|
static java.lang.String | EVENT_LOCAL_CACHE_REFRESHED
Deprecated.
Local line items cache refresh property.
|
static java.lang.String | EVENT_MODIFY_QUANTITY
Deprecated.
Modify quantity event property.
|
static java.lang.String | EVENT_MORE_ACTIONS
Deprecated.
More action selected event property.
|
static java.lang.String | EVENT_OPEN_ADDRESS_DIALOG
Deprecated.
Open address dialog event property.
|
static java.lang.String | EVENT_OPEN_CONTRACT_DIALOG
Deprecated.
Contract dialog event property.
|
static java.lang.String | EVENT_OPEN_PRICE_OVERRIDE
Deprecated.
Price override dialog event property.
|
static java.lang.String | EVENT_ORDER_ITEM_DETAIL_EVENT
Deprecated.
Order item detail button selected event property.
|
static java.lang.String | EVENT_PRODUCT_BUTTON_TRAVERSE_NEXT
Deprecated.
Product cell traverse event property.
|
static java.lang.String | EVENT_PRODUCT_FOCUS_LOST
Deprecated.
Product cell focus lost event property.
|
static java.lang.String | EVENT_PRODUCT_TRAVERSE_NEXT
Deprecated.
Product text field tab next event property.
|
static java.lang.String | EVENT_REFRESH
Deprecated.
Refresh selected event property.
|
static java.lang.String | EVENT_REFRESH_SALES_CONTAINER_CACHE
Deprecated.
Refresh local sales container cache event identifier.
|
static java.lang.String | EVENT_SELECT_ALL_ITEM
Deprecated.
Select all event property.
|
static java.lang.String | EVENT_SELECT_EXPEDITE
Deprecated.
Expedite combo item selected event property.
|
static java.lang.String | EVENT_SELECT_REQUEST_DATE
Deprecated.
Request date dialog event property.
|
static java.lang.String | EVENT_SELECT_SHIP_MODE
Deprecated.
Ship mode combo selection event property.
|
static java.lang.String | EVENT_SELECT_SHIP_TO
Deprecated.
Address combo selection event property.
|
static java.lang.String | EVENT_SELECT_SHIPPING_INSTRUCTION
Deprecated.
Ship instruction button selection event property.
|
static java.lang.String | EVENT_TIE
Deprecated.
Tie selected event property.
|
static java.lang.String | EVENT_UNEXPEDITE_ALL
Deprecated.
Un expedite all selected event property.
|
static java.lang.String | EVENT_UNTIE
Deprecated.
Untie selected event property.
|
static java.lang.String | EVENT_UNTIE_ALL
Deprecated.
Untie all selected event property.
|
static java.lang.String | EXPEDITE_ALL_ACTION_VALUE
Deprecated.
Expedite all action identifier value.
|
static java.lang.String | EXPEDITE_ITEM
Deprecated.
Expedite column's columnType property value.
|
static java.lang.String | FIND_EXPANDABLE_COMPOSITE
Deprecated.
Locate expandable composite's compositeType property value.
|
static java.lang.String | FIND_EXPANDED
Deprecated.
Find expanded property.
|
static java.lang.String | FIND_IN_CLOSE_BUTTON
Deprecated.
Locate composite close button's buttonType property value.
|
static java.lang.String | FIND_ROW
Deprecated.
Locate expandable composite find button's buttonType property value.
|
static java.lang.String | FIND_ROW_FIRST
Deprecated.
Locate expandable composite find first button's buttonType property value.
|
static java.lang.String | FIND_ROW_LAST
Deprecated.
Locate expandable composite find last button's buttonType property value.
|
static java.lang.String | FIND_ROW_NEXT
Deprecated.
Locate expandable composite find next button's buttonType property value.
|
static java.lang.String | FIND_ROW_PREVIOUS
Deprecated.
Locate expandable composite find previous button's buttonType property value.
|
static java.lang.String | FIND_STRING
Deprecated.
Find text string property.
|
static java.lang.String | FIND_TEXT
Deprecated.
Find text identifier's fieldType property value.
|
static java.lang.String | FIND_TEXT_FOCUS
Deprecated.
Find text focus property.
|
static java.lang.String | FOCUS_LOST_INDEX
Deprecated.
Focus lost index property.
|
static java.lang.String | FOCUS_LOST_PRODUCT
Deprecated.
Focus lost product property.
|
static java.lang.String | FULFILLMENT_CENTER_LABEL
Deprecated.
Fulfillment centre label's labelType property value.
|
static java.lang.String | FULFILLMENT_DATE_LABEL
Deprecated.
Fulfillment date label's labelType property value.
|
static java.lang.String | FULFILLMENT_QUANTITY_LABEL
Deprecated.
Fulfillment quantity label's labelType property value.
|
static java.lang.String | FULFILLMENT_STATUS_LABEL
Deprecated.
Fulfillment status label's labelType property value.
|
static java.lang.String | GRAND_TOTAL_TEXT
Deprecated.
Grand total text's fieldType property value.
|
static java.lang.String | INPUT_PROP_BUTTON_TYPE
Deprecated.
Button type property name.
|
static java.lang.String | INPUT_PROP_COLUMN_TYPE
Deprecated.
Field type property name.
|
static java.lang.String | INPUT_PROP_COMPOSITE_TYPE
Deprecated.
Composite type property name.
|
static java.lang.String | INPUT_PROP_FIELD_TYPE
Deprecated.
Field type property name.
|
static java.lang.String | INPUT_PROP_LABEL_TYPE
Deprecated.
Field type property name.
|
protected static java.lang.String | INPUT_PROP_PART_CONTROL
Deprecated.
Page part control input property name.
|
static java.lang.String | INPUT_PROP_SALES_CONTAINER
Deprecated.
Sales Container input property name.
|
static java.lang.String | INPUT_PROP_TABLE_TYPE
Deprecated.
Table type property name.
|
static java.lang.String | ITEM_DETAILS_EXPANDABLE_COMPOSITE
Deprecated.
Item details expandable composite's compositeType property value.
|
static java.lang.String | ITEM_STATUS_COLUMN
Deprecated.
Status column's columnType property value.
|
static java.lang.String | ITEM_TABLE
Deprecated.
Item table's tableType property value.
|
static java.lang.String | ITEM_TABLE_CREATE_DATE_COLUMN
Deprecated.
Create date column's columnType property value.
|
static java.lang.String | ITEM_TABLE_EDITABLE_COLUMN
Deprecated.
Editable column's columnType property value.
|
static java.lang.String | ITEM_TABLE_PRODUCT_TYPE_COLUMN
Deprecated.
Product type column's columnType property value.
|
protected ConfiguredTable | itemTableConfiguredControl_
Deprecated.
Item table configured table.
|
static java.lang.String | LAST_INVALID_COLUMN
Deprecated.
Last invalid row property.
|
static java.lang.String | LAST_INVALID_ROW
Deprecated.
Last invalid row property.
|
static java.lang.String | LINE
Deprecated.
Line property identifier value.
|
static java.lang.String | LINES
Deprecated.
Constant for list of line property.
|
static java.lang.String | LOCAL_CACHE
Deprecated.
Local cache property.
|
static java.lang.String | MANAGER_TYPE_ORDER_ITEM_EDITOR
Deprecated.
Customer editor manager type.
|
static java.math.BigDecimal | MAX_TOTAL_PRICE
Deprecated.
Maximum value for calculated prices.
|
static java.lang.String | MODIFIED_PRODUCT_ID
Deprecated.
Modified product property.
|
static java.lang.String | MODIFIED_PRODUCT_INDEX
Deprecated.
Modified product row index property.
|
static java.lang.String | MODIFIED_PRODUCT_LINE
Deprecated.
Modified line property.
|
static java.lang.String | MORE_ACTION
Deprecated.
More action combo's fieldType property value.
|
static java.lang.String | MORE_ACTION_VALUE
Deprecated.
More action identifier value.
|
static java.lang.String | NEW_ADDRESS
Deprecated.
New address property.
|
protected ModelObjectList | pageLineItems_
Deprecated.
Use getLocalCachedLines and setLocalCachedLines to set and get the local cache items.
|
protected java.lang.String | prevShipModeId_
Deprecated.
Previous ship mode id.
|
static java.lang.String | PRICE_COLUMN
Deprecated.
Price column's columnType property value.
|
static java.lang.String | PROD_ATTR_IMAGE_LABEL
Deprecated.
Product attribute image label's labelType property value.
|
static java.lang.String | PROD_ATTR_LABEL
Deprecated.
Product attribute label's labelType property value.
|
static java.lang.String | PROD_DESC_IMAGE_LABEL
Deprecated.
Product description image label's labelType property value.
|
static java.lang.String | PROD_DESC_LABEL
Deprecated.
Product description label's labelType property value.
|
static java.lang.String | PROD_NAME_LABEL
Deprecated.
Product name label's labelType property value.
|
static java.lang.String | PRODUCT_COLUMN
Deprecated.
Product column's columnType property value.
|
static java.lang.String | PRODUCT_ID
Deprecated.
Product id property.
|
static java.lang.String | QUANTITY_TEXT
Deprecated.
Quantity column's columnType property value.
|
static java.lang.String | REFRESH_ACTION_VALUE
Deprecated.
Reprice action identifier value.
|
static java.lang.String | REQ_DATE_VALID
Deprecated.
Request date valid property.
|
static java.lang.String | REQD_SHIP_DATE
Deprecated.
Required ship date column's columnType property value.
|
static java.lang.String | SELECTED_REQUEST_DATE
Deprecated.
Request date property.
|
static java.lang.String | SHIP_INSTRUCTION_COLUMN
Deprecated.
Shipping mode column's columnType property value.
|
static java.lang.String | SHIP_TO_COLUMN
Deprecated.
Ship address column's columnType property value.
|
protected org.eclipse.swt.events.SelectionListener | shipModeSelection_
Deprecated.
Selection listener for ship mode combo.
|
static java.lang.String | SHIPPING_CARRIER
Deprecated.
Shipping carrier property identifier value.
|
static java.lang.String | SHIPPING_INSTRUCTIONS
Deprecated.
Shipping instruction property identifier value.
|
static java.lang.String | TABLE_ADD_BUTTON
Deprecated.
Add button's buttonType property value.
|
static java.lang.String | TABLE_APPLY_BUTTON
Deprecated.
Apply button's buttonType property value.
|
static java.lang.String | TABLE_COPY_BUTTON
Deprecated.
Copy button's buttonType property value.
|
static java.lang.String | TABLE_DELETE_BUTTON
Deprecated.
Delete button's buttonType property value.
|
static java.lang.String | TABLE_DETAILS_BUTTON
Deprecated.
Details button's buttonType property value.
|
static java.lang.String | TABLE_FIND_BUTTON
Deprecated.
Table find button's buttonType property value.
|
static java.lang.String | TIECODE
Deprecated.
Constant value for tiecode property.
|
static java.lang.String | TOTAL_ITEM_LABEL
Deprecated.
Total item date label's labelType property value.
|
static java.lang.String | TOTAL_PRICE_COLUMN
Deprecated.
Total price column's columnType property value.
|
static java.lang.String | UNEXPEDITE_ALL_ACTION_VALUE
Deprecated.
Un expedite all action identifier value.
|
Constructor and Description |
---|
SalesContainerItemPageManager()
Deprecated.
Construct a new sales container editor item page widget manager.
|
Modifier and Type | Method and Description |
---|---|
protected void | cacheProduct(Product product)
Deprecated.
Cache the specified product with the current order or quote.
|
java.lang.Boolean | canModify(java.lang.Object element, ConfiguredTableColumn configuredTableColumn, ConfiguredTable configuredTable)
Deprecated.
Checks whether the given property of the given element can be modified.
|
protected boolean | checkStateForRefresh()
Deprecated.
Check status before refreshing the line.
|
protected void | closeItemAttributesPopup()
Deprecated.
Closes the item information popup.
|
protected void | closeItemDescriptionPopup()
Deprecated.
Closes the item description popup.
|
java.lang.Integer | compare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
Deprecated.
Returns a negative, zero, or positive number depending on whether the first element is less than, equal to, or greater than the second element.
|
protected java.lang.String | configureUrl(java.lang.String originalUrl, java.util.Map parameters)
Deprecated.
Updates the configurator URL by adding the given parameters.
|
void | deactivate()
Deprecated.
Deactivate the widget manager.
|
protected void | deleteInvalidRows()
Deprecated.
Deletes all the invalid rows in the item table.
|
void | dispose()
Deprecated.
Disposes of any controls created by this widget manager.
|
void | disposeControl(ConfiguredControl configuredControl)
Deprecated.
Dispose the specified control.
|
protected void | disposeItemTable(ConfiguredTable itemTable)
Deprecated.
Disposes item table control.
|
protected void | disposeMoreActionControl(ConfiguredControl moreActionControl)
Deprecated.
disposeializes more action control.
|
void | disposeTableColumn(ConfiguredTableColumn configuredTableColumn)
Deprecated.
Dispose of the specified table column.
|
protected void | enableDisableControl(org.eclipse.swt.widgets.Control control, boolean enabled)
Deprecated.
Enables or disables a given control.
|
protected java.lang.Object[] | getAddedLineItem(Line[] oldLineItems, Line[] newLineItems)
Deprecated.
Returns the added line items in the order.
|
protected TelesalesProperties | getAddItemParameters(Line[] lineItems)
Deprecated.
Do not use this method for any customization, rather use action class.
|
java.lang.Object | getColumnCellValue(java.lang.Object element, ConfiguredTableColumn tableColumn)
Deprecated.
Returns the value for the given table column cell of the given element.
|
protected void | getColumnStatusMessage(ConfiguredTableColumn child)
Deprecated.
Gets the status message for the table column from cell validator and sets it to configured table column.
|
protected java.util.Map | getConfiguratorUrlParameters(java.lang.String url)
Deprecated.
Returns the URL parameters to use when launching the configurator.
|
protected org.eclipse.core.runtime.IStatus | getControlStatusMessage(ConfiguredControl configuredControl)
Deprecated.
Returns the status message for the control.
|
protected java.lang.String | getCurrentTieCode(java.util.Iterator iter)
Deprecated.
Returns tiecode when user selects multiple order items.
|
protected TelesalesProperties | getDeleteItemParameters(Line lineItem)
Deprecated.
Constructs the parameters for the "com.ibm.commerce.telesales.deleteOrderItem" or "com.ibm.commerce.telesales.deleteQuoteItem" service request.
|
protected TelesalesProperties | getFindProductParameters(java.lang.String productId)
Deprecated.
Do not use this method for any customization, rather use action class.
|
protected TelesalesProperties | getGetPriceListParameters(Line currentLine)
Deprecated.
Do not use this method for any customization, rather use action class.
|
ModelObjectList | getLocalCachedLines()
Deprecated.
Returns the value stored under LOCAL_CACHE in the widget manager input properties.
|
protected TelesalesProperties | getOverridePriceParameters(Line lineItem)
Deprecated.
Do not use this method for any customization, rather use action class.
|
protected org.eclipse.swt.widgets.Control | getPartControl()
Deprecated.
Returns the part control of this page.
|
protected java.lang.Object[] | getRemovedLineItems(Line[] oldLineItems, Line[] newLineItems)
Deprecated.
Returns removed line items in an order.
|
static org.eclipse.swt.graphics.Color | getRequiredFieldForegroundColor()
Deprecated.
Returns the foreground color for required fields' asterix indicator.
|
protected SalesContainer | getSalesContainer()
Deprecated.
Returns the current sales container model object.
|
protected java.lang.String | getShipModeModelText(Line lineItem)
Deprecated.
Returns the ship mode description from the Line model object.
|
protected java.lang.String | getShippingModeCellText(org.eclipse.swt.widgets.Combo shipModeCombo, java.lang.String modeId)
Deprecated.
Returns the ship mode description for the given shipping mode combo cell in the table.
|
protected java.lang.String | getShippingModeId(org.eclipse.swt.widgets.Combo shipModeCombo, Line currentLine)
Deprecated.
Returns the ship mode ID associated with a row in the order item table.
|
org.eclipse.swt.graphics.Image | getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
Deprecated.
Returns the table cell image for the specified element and table column.
|
java.lang.String | getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
Deprecated.
Returns the table cell text for the specified row element and column.
|
java.lang.Object | getTableDefaultElement(ConfiguredTable configuredTable)
Deprecated.
Returns a default model object to populate the table.
|
protected org.eclipse.swt.graphics.Point | getTotalSize(org.eclipse.swt.graphics.Image image, java.lang.String text)
Deprecated.
Computes the minimum size of an image/label pair.
|
protected TelesalesProperties | getUpdateItemParameters(Line[] lineItem)
Deprecated.
Do not use this method for any customization, rather use action class.
|
void | init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
Deprecated.
Initialize the sales container editor item page widget manager.
|
void | initControl(ConfiguredControl configuredControl)
Deprecated.
Initialize the specified control whose managerType property matches the manager type of this class.
|
protected void | initItemTable(ConfiguredTable itemTable)
Deprecated.
Initializes item table control.
|
protected void | initMoreActionControl(ConfiguredControl moreActionControl)
Deprecated.
Initializes more action control.
|
void | initTableColumn(ConfiguredTableColumn configuredTableColumn)
Deprecated.
Initializes the specified column whose managerType property matches the manager type of this class.
|
protected java.lang.Integer | internalCompare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
Deprecated.
Returns a negative, zero, or positive number depending on whether the first element is less than, equal to, or greater than the second element.
|
protected boolean | isAllRowsValid()
Deprecated.
Returns true if all the rows in the order item table is valid.
|
protected boolean | isB2B()
Deprecated.
Checks if the current store is a B2B store.
|
protected boolean | isFindAllowed()
Deprecated.
Returns true if the find control can be enabled.
|
protected boolean | isItemAddAllowed()
Deprecated.
Checks if the add item button must be enabled or disabled.
|
protected boolean | isItemApplyAllowed()
Deprecated.
Checks if the apply item button must be enabled or disabled.
|
protected boolean | isItemCopyAllowed()
Deprecated.
Returns true if the copy control can be enabled.
|
protected boolean | isItemDeleteAllowed()
Deprecated.
Checks if the delete item button must be enabled or disabled.
|
protected boolean | isLineValid(Line currentLine)
Deprecated.
Returns true if the line is valid.
|
protected boolean | isLocateEnabled()
Deprecated.
Returns true if the find string has value.
|
protected boolean | isMoreActionsAllowed()
Deprecated.
Returns true if the more action control can be enabled.
|
protected boolean | isOrderItemDetailAllowed()
Deprecated.
Returns true if the order item detail control can be enabled.
|
protected boolean | isPreviousRowValid()
Deprecated.
Returns true if the previous row in the order item table is valid.
|
protected boolean | isTableDirty(ConfiguredTable configuredTable)
Deprecated.
Checks if the table widget is dirty.
|
protected void | openAddAddressDialog()
Deprecated.
Opens the add address dialog.
|
protected Line[] | openBundleDialog(Line currentLine, Product product)
Deprecated.
Opens the bundle dialog.
|
protected Line[] | openProductAttributesDialog(Line currentLine, Product product)
Deprecated.
Opens the product attributes dialog.
|
protected boolean | openShippingInstructionsDialog(Line currentItem)
Deprecated.
Opens the shipping instructions dialog for the given Line.
|
protected void | overridePrice(Line lineItem)
Deprecated.
Indicates that the overridePrice action is required.
|
protected void | populateSalesContainerCache()
Deprecated.
This method populates the sales container cache with line items from the SalesContainer model.
|
protected void | populateShippingModeCell(org.eclipse.swt.widgets.Combo shipModeCombo, Line lineItem)
Deprecated.
Populates the ship mode combo.
|
void | refreshControl(ConfiguredControl configuredControl)
Deprecated.
Refresh the given controls.
|
void | refreshControlDirty(ConfiguredControl configuredControl)
Deprecated.
Refresh the dirty state for the given configured control.
|
void | refreshTableColumn(ConfiguredTableColumn configuredTableColumn)
Deprecated.
Refresh the given configured table column.
|
protected void | resetInputProperty(java.lang.String key, java.lang.Object value)
Deprecated.
Resets the value of the widget input property with given key.
|
void | saveColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn, java.lang.Object value)
Deprecated.
Saves the contents of the column.
|
void | saveControl(ConfiguredControl configuredControl)
Deprecated.
Save the contents of the specified configured control.
|
protected void | setInput(ConfiguredTable configuredTable)
Deprecated.
Refreshes the item table with local cache line item values.
|
void | setLocalCachedLines(ModelObjectList localCache)
Deprecated.
Sets the value stored under LOCAL_CACHE in the widget manager input properties.
|
void | setPriceOverrideBean(Line line, PriceOverrideBean bean)
Deprecated.
Sets the given price override bean to the given line.
|
void | setShippingModes(org.eclipse.swt.widgets.Combo shipModeCombo, ShippingMode[] modes, Line line)
Deprecated.
Populates the shipping mode combo during content creation.
|
protected void | setTableDirty(boolean dirty)
Deprecated.
Sets the dirty flag for order item configured table control.
|
protected java.lang.String | shortenText(org.eclipse.swt.graphics.GC gc, java.lang.String t, int width)
Deprecated.
Shorten the given text t so that its length doesn't exceed the given width.
|
protected void | update(Line[] lineItem)
Deprecated.
Indicates that the Update action is required.
|
protected void | updateLocalCache(int lineIndex, Line currentLine)
Deprecated.
Updates the order items local cache with the given item at the given index.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String TABLE_FIND_BUTTON
public static final java.lang.String FIND_IN_CLOSE_BUTTON
public static final java.lang.String FIND_EXPANDABLE_COMPOSITE
public static final java.lang.String FIND_ROW
public static final java.lang.String FIND_ROW_FIRST
public static final java.lang.String FIND_ROW_NEXT
public static final java.lang.String FIND_ROW_PREVIOUS
public static final java.lang.String FIND_ROW_LAST
public static final java.lang.String FIND_TEXT
public static final java.lang.String INPUT_PROP_COMPOSITE_TYPE
public static final java.lang.String INPUT_PROP_TABLE_TYPE
public static final java.lang.String ITEM_TABLE
public static final java.lang.String ITEM_TABLE_EDITABLE_COLUMN
public static final java.lang.String ITEM_TABLE_CREATE_DATE_COLUMN
public static final java.lang.String ITEM_TABLE_PRODUCT_TYPE_COLUMN
public static final java.lang.String PRODUCT_COLUMN
public static final java.lang.String CONTRACT_COLUMN
public static final java.lang.String PRICE_COLUMN
public static final java.lang.String TOTAL_PRICE_COLUMN
public static final java.lang.String SHIP_TO_COLUMN
public static final java.lang.String SHIP_INSTRUCTION_COLUMN
public static final java.lang.String REQD_SHIP_DATE
public static final java.lang.String EST_SHIP_DATE
public static final java.lang.String QUANTITY_TEXT
public static final java.lang.String EXPEDITE_ITEM
public static final java.lang.String ITEM_STATUS_COLUMN
public static final java.lang.String MORE_ACTION
public static final java.lang.String TABLE_ADD_BUTTON
public static final java.lang.String TABLE_APPLY_BUTTON
public static final java.lang.String TABLE_DELETE_BUTTON
public static final java.lang.String TABLE_COPY_BUTTON
public static final java.lang.String TABLE_DETAILS_BUTTON
public static final java.lang.String PROD_DESC_IMAGE_LABEL
public static final java.lang.String PROD_DESC_LABEL
public static final java.lang.String PROD_ATTR_IMAGE_LABEL
public static final java.lang.String PROD_ATTR_LABEL
public static final java.lang.String GRAND_TOTAL_TEXT
public static final java.lang.String LINE
public static final java.lang.String SHIPPING_CARRIER
public static final java.lang.String SHIPPING_INSTRUCTIONS
public static final java.lang.String ITEM_DETAILS_EXPANDABLE_COMPOSITE
public static final java.lang.String PROD_NAME_LABEL
public static final java.lang.String FULFILLMENT_QUANTITY_LABEL
public static final java.lang.String FULFILLMENT_STATUS_LABEL
public static final java.lang.String FULFILLMENT_CENTER_LABEL
public static final java.lang.String FULFILLMENT_DATE_LABEL
public static final java.lang.String CREATE_DATE_LABEL
public static final java.lang.String TOTAL_ITEM_LABEL
public static final java.lang.String ACTION_PROPERTY
public static final java.lang.String MORE_ACTION_VALUE
public static final java.lang.String REFRESH_ACTION_VALUE
public static final java.lang.String CONFIGURE_ACTION_VALUE
public static final java.lang.String DETAILS_ACTION_VALUE
public static final java.lang.String EXPEDITE_ALL_ACTION_VALUE
public static final java.lang.String UNEXPEDITE_ALL_ACTION_VALUE
public static final java.lang.String EVENT_ID_SYNC_ASSOCIATIONS
public static final java.lang.String EVENT_ID_HANDLE_SHIPPING_CARRIER
public static final java.lang.String EVENT_ID_HANDLE_SHIPPING_INSTRUCTIONS
public static final java.lang.String EVENT_ID_DELETE
public static final java.lang.String EVENT_ID_REPRICE
public static final java.lang.String EVENT_ID_SHOW_DETAILS
public static final java.lang.String EVENT_ID_REFRESH_CONTAINER
public static final java.lang.String EVENT_ID_UPDATE_ORDER
public static final java.lang.String INPUT_PROP_SALES_CONTAINER
public static final java.lang.String MANAGER_TYPE_ORDER_ITEM_EDITOR
public static final java.lang.String INPUT_PROP_BUTTON_TYPE
public static final java.lang.String INPUT_PROP_FIELD_TYPE
public static final java.lang.String INPUT_PROP_COLUMN_TYPE
public static final java.lang.String INPUT_PROP_LABEL_TYPE
protected static final java.lang.String INPUT_PROP_PART_CONTROL
public static final java.lang.String EVENT_FOCUS_INVALID
public static final java.lang.String LINES
public static final java.lang.String TIECODE
public static final java.lang.String EVENT_ID_UPDATE_TIE
public static final java.math.BigDecimal MAX_TOTAL_PRICE
public static final java.lang.String EVENT_ADD_ITEM
public static final java.lang.String EVENT_DELETE_ITEM
public static final java.lang.String EVENT_APPLY_ITEM
public static final java.lang.String EVENT_COPY_ITEM
public static final java.lang.String EVENT_EXPAND_FIND
public static final java.lang.String EVENT_COLLAPSE_FIND
public static final java.lang.String EVENT_FIND_ITEM
public static final java.lang.String EVENT_FIND_FIRST_ITEM
public static final java.lang.String EVENT_FIND_LAST_ITEM
public static final java.lang.String EVENT_FIND_PREVIOUS_ITEM
public static final java.lang.String EVENT_FIND_NEXT_ITEM
public static final java.lang.String EVENT_REFRESH
public static final java.lang.String EVENT_DETAILS
public static final java.lang.String EVENT_CONFIGURE
public static final java.lang.String EVENT_MORE_ACTIONS
public static final java.lang.String EVENT_TIE
public static final java.lang.String EVENT_UNTIE_ALL
public static final java.lang.String EVENT_UNTIE
public static final java.lang.String EVENT_PRODUCT_BUTTON_TRAVERSE_NEXT
public static final java.lang.String EVENT_PRODUCT_FOCUS_LOST
public static final java.lang.String EVENT_OPEN_ADDRESS_DIALOG
public static final java.lang.String EVENT_FIND_PRODUCT
public static final java.lang.String EVENT_SELECT_SHIP_TO
public static final java.lang.String EVENT_ITEM_SELECTION_CHANGED
public static final java.lang.String EVENT_SELECT_SHIPPING_INSTRUCTION
public static final java.lang.String EVENT_SELECT_SHIP_MODE
public static final java.lang.String EVENT_OPEN_CONTRACT_DIALOG
public static final java.lang.String EVENT_MODIFY_QUANTITY
public static final java.lang.String EVENT_OPEN_PRICE_OVERRIDE
public static final java.lang.String EVENT_SELECT_REQUEST_DATE
public static final java.lang.String EVENT_EXPEDITE_ALL
public static final java.lang.String EVENT_UNEXPEDITE_ALL
public static final java.lang.String EVENT_SELECT_EXPEDITE
public static final java.lang.String EVENT_ORDER_ITEM_DETAIL_EVENT
public static final java.lang.String EVENT_SELECT_ALL_ITEM
public static final java.lang.String EVENT_REFRESH_SALES_CONTAINER_CACHE
public static final java.lang.String FIND_EXPANDED
public static final java.lang.String FIND_TEXT_FOCUS
public static final java.lang.String FIND_STRING
public static final java.lang.String PRODUCT_ID
public static final java.lang.String CURRENT_ITEM
public static final java.lang.String FOCUS_LOST_INDEX
public static final java.lang.String FOCUS_LOST_PRODUCT
public static final java.lang.String SELECTED_REQUEST_DATE
public static final java.lang.String NEW_ADDRESS
public static final java.lang.String MODIFIED_PRODUCT_ID
public static final java.lang.String EVENT_PRODUCT_TRAVERSE_NEXT
public static final java.lang.String MODIFIED_PRODUCT_LINE
public static final java.lang.String MODIFIED_PRODUCT_INDEX
public static final java.lang.String LAST_INVALID_ROW
public static final java.lang.String EVENT_LOCAL_CACHE_REFRESHED
public static final java.lang.String DEFER_ADD_ROW
public static final java.lang.String DEFER_APPLY_ROW
public static final java.lang.String EVENT_FOCUS_LOST_REQ_DATE
public static final java.lang.String REQ_DATE_VALID
public static final java.lang.String LAST_INVALID_COLUMN
public static final java.lang.String LOCAL_CACHE
protected java.lang.String prevShipModeId_
protected java.lang.String defaultShipModeDescription_
protected ConfiguredTable itemTableConfiguredControl_
protected ModelObjectList pageLineItems_
protected java.lang.String[] actionValue_
protected final org.eclipse.swt.events.SelectionListener cacheSortListener_
protected final org.eclipse.swt.events.SelectionListener shipModeSelection_
public SalesContainerItemPageManager()
public void init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
public void initControl(ConfiguredControl configuredControl)
protected void initMoreActionControl(ConfiguredControl moreActionControl)
protected void initItemTable(ConfiguredTable itemTable)
public void saveControl(ConfiguredControl configuredControl)
public org.eclipse.swt.graphics.Image getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
public java.lang.String getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
public java.lang.Object getColumnCellValue(java.lang.Object element, ConfiguredTableColumn tableColumn)
public void saveColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn, java.lang.Object value)
public void initTableColumn(ConfiguredTableColumn configuredTableColumn)
protected void cacheProduct(Product product)
protected SalesContainer getSalesContainer()
protected org.eclipse.swt.widgets.Control getPartControl()
protected org.eclipse.swt.graphics.Point getTotalSize(org.eclipse.swt.graphics.Image image, java.lang.String text)
protected java.lang.String shortenText(org.eclipse.swt.graphics.GC gc, java.lang.String t, int width)
Override if you need a different strategy.
protected void closeItemDescriptionPopup()
protected void closeItemAttributesPopup()
public java.lang.Object getTableDefaultElement(ConfiguredTable configuredTable)
protected TelesalesProperties getFindProductParameters(java.lang.String productId)
protected Line[] openProductAttributesDialog(Line currentLine, Product product)
protected Line[] openBundleDialog(Line currentLine, Product product)
protected void populateShippingModeCell(org.eclipse.swt.widgets.Combo shipModeCombo, Line lineItem)
protected java.lang.String getShippingModeCellText(org.eclipse.swt.widgets.Combo shipModeCombo, java.lang.String modeId)
protected java.lang.String getShipModeModelText(Line lineItem)
public void setShippingModes(org.eclipse.swt.widgets.Combo shipModeCombo, ShippingMode[] modes, Line line)
protected java.lang.String getShippingModeId(org.eclipse.swt.widgets.Combo shipModeCombo, Line currentLine)
protected boolean isB2B()
public void setPriceOverrideBean(Line line, PriceOverrideBean bean)
protected TelesalesProperties getGetPriceListParameters(Line currentLine)
The following parameters are to be constructed:
protected boolean openShippingInstructionsDialog(Line currentItem)
protected void openAddAddressDialog()
protected TelesalesProperties getAddItemParameters(Line[] lineItems)
protected TelesalesProperties getDeleteItemParameters(Line lineItem)
protected java.lang.Object[] getAddedLineItem(Line[] oldLineItems, Line[] newLineItems)
protected java.lang.Object[] getRemovedLineItems(Line[] oldLineItems, Line[] newLineItems)
protected void overridePrice(Line lineItem)
This method sends an override price request to the server. If the request is for an order, then the service request ID is com.ibm.commerce.telesales.overrideOrderPrice. If the request is for a quote, then the service request ID is com.ibm.commerce.telesales.overrideQuotePrice.
Subclasses may override.
protected TelesalesProperties getOverridePriceParameters(Line lineItem)
The following parameters are to be constructed:
protected void update(Line[] lineItem)
This method sends a request to update an item. If the item being updated is part of an order, then the request ID is com.ibm.commerce.telesales.updateOrderItem. If the item being updated is part of a quote, then the request ID is com.ibm.commerce.telesales.updateQuoteItem.
Subclasses may override.
protected TelesalesProperties getUpdateItemParameters(Line[] lineItem)
public void refreshControl(ConfiguredControl configuredControl)
protected void populateSalesContainerCache()
protected boolean checkStateForRefresh()
protected java.util.Map getConfiguratorUrlParameters(java.lang.String url)
Subclasses should override this method to add additional parameters, but should call super as in the following example:
Map parameters = super.getConfiguratorUrlParameters(url); // Add and remove parameters as necessary return parameters;
The values in the Map are stored as java.util.LinkedList objects.
Subclasses may override this method.
protected java.lang.String configureUrl(java.lang.String originalUrl, java.util.Map parameters)
protected java.lang.String getCurrentTieCode(java.util.Iterator iter)
public void refreshControlDirty(ConfiguredControl configuredControl)
protected boolean isTableDirty(ConfiguredTable configuredTable)
protected void setTableDirty(boolean dirty)
protected org.eclipse.core.runtime.IStatus getControlStatusMessage(ConfiguredControl configuredControl)
protected void getColumnStatusMessage(ConfiguredTableColumn child)
public java.lang.Integer compare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
protected java.lang.Integer internalCompare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
protected boolean isItemAddAllowed()
protected boolean isItemDeleteAllowed()
protected boolean isItemApplyAllowed()
protected boolean isItemCopyAllowed()
protected boolean isFindAllowed()
protected boolean isOrderItemDetailAllowed()
protected boolean isMoreActionsAllowed()
protected void enableDisableControl(org.eclipse.swt.widgets.Control control, boolean enabled)
protected void setInput(ConfiguredTable configuredTable)
public void refreshTableColumn(ConfiguredTableColumn configuredTableColumn)
protected void updateLocalCache(int lineIndex, Line currentLine)
protected boolean isLocateEnabled()
protected void resetInputProperty(java.lang.String key, java.lang.Object value)
public java.lang.Boolean canModify(java.lang.Object element, ConfiguredTableColumn configuredTableColumn, ConfiguredTable configuredTable)
protected boolean isLineValid(Line currentLine)
protected boolean isPreviousRowValid()
public static org.eclipse.swt.graphics.Color getRequiredFieldForegroundColor()
Checks for high contrast mode being enabled.
protected boolean isAllRowsValid()
public void deactivate()
public void dispose()
public void disposeControl(ConfiguredControl configuredControl)
protected void disposeMoreActionControl(ConfiguredControl moreActionControl)
protected void disposeItemTable(ConfiguredTable itemTable)
public void disposeTableColumn(ConfiguredTableColumn configuredTableColumn)
public ModelObjectList getLocalCachedLines()
public void setLocalCachedLines(ModelObjectList localCache)
protected void deleteInvalidRows()