Modifier and Type | Class and Description |
---|---|
class |
ShoppingCart<U extends IGenericEcomUser>
Deprecated.
Earlier this specifically had List
Cart . |
Constructor and Description |
---|
Cart(Cart cart) |
Modifier and Type | Method and Description |
---|---|
Cart |
CartService.getCartForSession(SESSION session,
String type)
Some carts like Shopping may exist in Session or persisted.
|
Cart |
AbstractCartService.getCartForSession(S _session,
String type) |
Cart |
AbstractCartService.getCartForUser(String userId,
String type) |
Cart |
CartService.getCartForUser(String userId,
String type)
Some carts like a WishList maybe persistent
so allow to retrieve it.
|
protected abstract Cart |
AbstractCartService.getCartFromSession(S session)
The Session is expected to be related to the
Cart it carries. |
Cart |
CartService.mergeCarts(SESSION session,
String cartType,
Cart existingCart,
Cart newSubCart)
Some operations require sub-carts to be added/merged with an existing
Cart . |
Cart |
AbstractCartService.mergeCarts(S session,
String cartType,
Cart existingCart,
Cart newSubCart)
Some operations require sub-carts to be added/merged with an existing
Cart . |
Cart |
CartService.saveCart(String type,
Cart cart,
SESSION session,
REQUEST request)
Save the
Cart to persist so it can be retrieved using CartService.getCartForUser(String, String) |
Cart |
AbstractCartService.saveCart(String type,
Cart cart,
S session,
R request) |
Cart |
CartService.subtractCart(SESSION session,
String cartType,
Cart existingCart,
Cart cartToBeSubtracted)
This operation will remove a cart from the existingCart
|
Cart |
AbstractCartService.subtractCart(S session,
String cartType,
Cart existingCart,
Cart cartToBeSubtracted)
This operation will remove a cart from the existingCart
|
Modifier and Type | Method and Description |
---|---|
void |
CartService.actionOnUpdateCartType(SESSION session,
REQUEST request,
String cartType,
Cart cart)
Updating cart to Session or Persistence.
|
void |
AbstractCartService.actionOnUpdateCartType(S session,
R request,
String cartType,
Cart cart)
The required data is extracted from the form, one can script their
action on the type of cart here.
|
List<P> |
AbstractCartService.convertToProductList(Cart cart) |
List<P> |
CartService.convertToProductList(Cart cart)
Convert a given Cart to a Product List.
|
Map<P,Number> |
AbstractCartService.convertToProductQuantityMap(Cart cart) |
Map<P,Number> |
CartService.convertToProductQuantityMap(Cart cart)
Convert a given Cart to a Product Quantity Map.
|
Cart |
CartService.mergeCarts(SESSION session,
String cartType,
Cart existingCart,
Cart newSubCart)
Some operations require sub-carts to be added/merged with an existing
Cart . |
Cart |
AbstractCartService.mergeCarts(S session,
String cartType,
Cart existingCart,
Cart newSubCart)
Some operations require sub-carts to be added/merged with an existing
Cart . |
Cart |
CartService.saveCart(String type,
Cart cart,
SESSION session,
REQUEST request)
Save the
Cart to persist so it can be retrieved using CartService.getCartForUser(String, String) |
Cart |
AbstractCartService.saveCart(String type,
Cart cart,
S session,
R request) |
protected abstract void |
AbstractCartService.setCartToSession(S session,
Cart c)
The Session is expected to be related to the
Cart it carries. |
Cart |
CartService.subtractCart(SESSION session,
String cartType,
Cart existingCart,
Cart cartToBeSubtracted)
This operation will remove a cart from the existingCart
|
Cart |
AbstractCartService.subtractCart(S session,
String cartType,
Cart existingCart,
Cart cartToBeSubtracted)
This operation will remove a cart from the existingCart
|
void |
AbstractCartService.validateCart(Cart cart,
S session)
Validate requested Stock positions in the Cart etc.
|
void |
CartService.validateCart(Cart cart,
SESSION session)
Validate requested Stock positions in the Cart etc.
|
Modifier and Type | Method and Description |
---|---|
protected Cart |
WicketCartService.getCartFromSession(S session) |
protected Cart |
ServletCartService.getCartFromSession(S session) |
Modifier and Type | Method and Description |
---|---|
protected void |
WicketCartService.setCartToSession(S session,
Cart c) |
protected void |
ServletCartService.setCartToSession(S session,
Cart c) |
Modifier and Type | Method and Description |
---|---|
Cart |
EComUserShell.getShoppingCart()
Shopping
Cart |
Modifier and Type | Method and Description |
---|---|
void |
EComUserShell.setShoppingCart(Cart shoppingCart)
Shopping
Cart |
Modifier and Type | Method and Description |
---|---|
Cart |
WicketEcomUserContextUpdateService.getCart(javax.servlet.http.HttpServletRequest request,
String cartType)
Fetch the
Cart for a user |
Modifier and Type | Method and Description |
---|---|
Cart |
EComSession.getShoppingCart() |
Modifier and Type | Method and Description |
---|---|
void |
EComSession.setShoppingCart(Cart shoppingCart) |
Copyright © 2018. All rights reserved.