All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected boolean |
activateCart(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
java.lang.String cartCode) |
protected void |
addIndicatorCell(CartLineItem item,
ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem masterRow,
java.lang.Object context) |
protected Listcell |
buildPriceCell(java.lang.Double currentPrice,
java.lang.Double previousPrice,
java.text.NumberFormat currencyInstance) |
protected Component |
createAppliedOrderPromotions(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
HtmlBasedComponent |
createCaption(ListboxWidget<BasketCartWidgetModel,BasketController> widget)
Creates and returns the widget's caption component.
|
protected EventListener |
createCartEntryQtyChangeEventListener(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
TypedObject item,
Longbox qtyInput,
java.lang.Long oldQuantity) |
protected EventListener |
createCheckoutClickEventListener(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
protected Component |
createClearCartButton(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
protected HtmlBasedComponent |
createContentInternal(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
HtmlBasedComponent rootContainer)
Responsible for creating the actual content.
|
protected EventListener |
createOpenCartPickupFormButtonEventListener(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
protected Component |
createPickupCartButton(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
protected EventListener |
createPickupCartEventListener(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Textbox codeTextBox,
Window popupWindow) |
protected Component |
createPotentialOrderPromotions(ListboxWidget<BasketCartWidgetModel,BasketController> widget) |
protected Component |
createSummaryTotals(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
BasketController.CartSummary cartSummary) |
protected CallContextController |
getCallContextController() |
protected CommonI18NService |
getCommonI18NService() |
protected CsPromotionService |
getCsPromotionService() |
CustomerModelLabelProvider |
getCustomerModelLabelProvider() |
protected java.lang.String |
getCustomerNameValue(UserModel user) |
protected TypedObject |
getDetailItem(CartLineItem item) |
protected FormatFactory |
getFormatFactory() |
protected PopupWindowCreator |
getPopupWindowCreator() |
protected java.lang.String |
getRowActionMessage(TypedObject orderEntry)
Get a message to display in the action cell for the cart entry row.
|
protected SessionService |
getSessionService() |
protected void |
handleCartEntryQtyChangeEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event,
TypedObject item,
Longbox qtyInput,
java.lang.Long oldQuantity) |
protected void |
handleCheckoutClickEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event) |
protected void |
handleClearCartClickEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event) |
protected void |
handleConfirmBeforeCompletingRequestEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event,
EventListener innerEvent) |
protected void |
handleHotKeyEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
HotKeyCommandEvent hotKeyEvent,
Listbox listBox) |
protected void |
handleOpenCartPickupFormButtonEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event) |
protected void |
handlePickupCartEvent(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Event event,
Textbox codeTextBox,
Window popupWindow) |
protected boolean |
isNewPromotionBlock(CartLineItem item,
java.util.List<CartLineItem> allLines) |
protected java.lang.Object |
populateHeaderRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listhead row)
Populates the header row with the required column headers and returns the row context object
|
protected void |
populateMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
java.lang.Object context,
CartLineItem item)
Populates the master row for the item.
|
protected void |
populateOrderEntryMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
java.lang.Object context,
TypedObject item) |
protected void |
populateOrderEntryMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
java.lang.Object context,
WrappedPromotionOrderEntryConsumedModel entry) |
protected void |
populateOrderEntryMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
java.lang.Object context,
WrappedPromotionResultModel entry) |
protected void |
populateOrderEntryMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
java.lang.Object context,
WrappedWrappedOrderEntry entry) |
protected void |
populatePickupCartForm(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Div container,
Window popupWindow) |
protected void |
prependDetailRow(CartLineItem item,
TypedObject detailItem,
ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem masterRow,
java.lang.Object context) |
protected void |
prependHeaderRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listhead headRow) |
protected void |
prependMasterRow(CartLineItem item,
ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem masterRow,
java.lang.Object context) |
protected void |
renderListbox(Listbox listBox,
ListboxWidget<BasketCartWidgetModel,BasketController> widget,
HtmlBasedComponent rootContainer) |
protected void |
renderMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
TypedObject orderEntry,
java.lang.Double basePriceValue,
java.lang.Double totalPriceValue,
java.lang.Double previousBasePriceValue,
java.lang.Double previousTotalPriceValue,
java.lang.Long qty) |
protected void |
renderMasterRow(ListboxWidget<BasketCartWidgetModel,BasketController> widget,
Listitem row,
TypedObject orderEntry,
java.lang.Double basePriceValue,
java.lang.Double totalPriceValue,
java.lang.Long qty) |
void |
setCallContextController(CallContextController callContextController) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setCsPromotionService(CsPromotionService csPromotionService) |
void |
setCustomerModelLabelProvider(CustomerModelLabelProvider customerModelLabelProvider) |
void |
setFormatFactory(FormatFactory formatFactory) |
void |
setPopupWindowCreator(PopupWindowCreator popupWindowCreator) |
void |
setSessionService(SessionService sessionService) |