Package | Description |
---|---|
com.dpslink.flash.db |
DPS Flash specific definitions for database objects and database object controllers as well as other non-persisted business related objects.
|
com.dpslink.flash.db.util |
DPS Flash specific database related handlers and background processing tasks.
|
com.dpslink.flash.servlet |
DPS Flash specific servlets for handling shopping functions.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<CartLine> |
DBO.CARTLN
The cart line object class.
|
Modifier and Type | Method and Description |
---|---|
CartLine |
Cart.getCartLine(FlashServletContext ctx,
int index)
Returns the cart line at the given index.
|
CartLine |
CartLineController.resultSetToObject(java.sql.ResultSet rs)
Returns a database object from the given SQL result set.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CartLine> |
CartLineController.getCart(FlashServletContext ctx,
Cart cart)
Returns a collection of all cart lines for a cart.
|
java.util.ArrayList<CartLine> |
Cart.getCartLines(FlashServletContext ctx)
Returns the collection of cart lines for this cart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CartLineController.add(CartLine obj)
THIS METHOD SHOULD ONLY BE INVOKED BY THE CART CLASS, otherwise the cache
of cart lines will be corrupted.
|
int |
CartLineController.add(CartLine obj,
boolean logdup)
THIS METHOD SHOULD ONLY BE INVOKED BY THE CART CLASS, otherwise the cache
of cart lines will be corrupted.
|
boolean |
Cart.addCartLine(FlashServletContext ctx,
CartLine cartline)
Adds a new cart line to this cart's collection of cart lines and to the
cart line database table.
|
boolean |
CartLineController.delete(CartLine obj)
THIS METHOD SHOULD ONLY BE INVOKED BY THE CART CLASS, otherwise the cache
of cart lines will be corrupted.
|
boolean |
Cart.deleteCartLine(FlashServletContext ctx,
CartLine cartline)
Deletes a cart line from the cartline database table.
|
boolean |
CartLineController.deleteProduct(CartLine cartline)
Deletes all cart line records that match a cart line's cart id, product
and unit of measure.
|
boolean |
CartLineController.update(CartLine obj)
THIS METHOD SHOULD ONLY BE INVOKED BY THE CART CLASS, otherwise the cache
of cart lines will be corrupted.
|
boolean |
Cart.updateCartLine(FlashServletContext ctx,
CartLine cartline)
Updates a cart line in the collection of cart lines and in the cart line
database table.
|
Modifier and Type | Method and Description |
---|---|
private void |
Cart.setRealtimeInfo(FlashServletContext ctx,
java.util.ArrayList<CartLine> cartlines)
Sets the realtime information (current price, availability, etc.) for
each product within a given set of cart lines.
|
Modifier and Type | Method and Description |
---|---|
static void |
UnitMeasureHandler.fillOrderAuditLine(OrderAuditLine oal,
CartLine cartline)
Fills an order audit line's values using values from the given cart line.
|
protected java.util.ArrayList<QuantityPriceBreak> |
UnitMeasureHandler.getSortedPriceUoms(CartLine cartline,
boolean incldescr)
Returns a sorted list of unique price units of measure for the given cart
line.
|
protected Select |
UnitMeasureHandler.getTemplatePriceUoms(CartLine cartline,
java.lang.String selectuom,
boolean showdescr,
boolean showprice)
Returns an HTML
Select object that contains the given cart line's
selectable price units of measure. |
protected void |
UnitMeasureHandler.setCartLinePrices(CartLine cartline)
Sets the order and price unit of measure prices for the given cart line.
|
void |
UnitMeasureHandler.setCartLineUoms(CartLine cartline)
Sets the unit of measure and price values for a given cart line.
|
void |
UnitMeasureHandler.setCartLineUoms(CartLine cartline,
java.lang.String orderuom,
java.lang.String priceuom)
Sets the unit of measure and price values for a given cart line.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitMeasureHandler.setCartLineTemplateUoms(java.util.ArrayList<CartLine> cartlines)
Sets the unit of measure html template data for a group of cart lines.
|
void |
UnitMeasureHandler.setCartLineUoms(java.util.ArrayList<CartLine> cartlines)
Sets the unit of measure and price values for a group of cart lines.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<CartLine> |
ReviewCart.Context.cartlines
The current list of cart lines.
|
protected java.util.ArrayList<CartLine> |
CartLineEdit.Context.cartlines
The current list of cart lines.
|
protected java.util.ArrayList<CartLine> |
ConfirmOrder.Context.cartlines
The current list of cart lines.
|
java.util.ArrayList<CartLine> |
CheckOut.Context.cartlines
The current list of cart lines.
|
protected java.util.ArrayList<CartLine> |
QuickOrder.Context.cartlines
The current list of cart lines.
|
Modifier and Type | Method and Description |
---|---|
private void |
QuickOrder.addToCart(QuickOrder.Context ctx,
CartLine cartline)
Adds the given cart line to the database and to the session's cache of
all cart lines.
|
int |
FavoriteItems.CartLineComparator.compare(CartLine c1,
CartLine c2) |
private java.lang.String |
QuickOrder.formatCartLinePrice(QuickOrder.Context ctx,
CartLine cartline)
Returns a formatted price for the given cart line.
|
protected java.lang.String |
FavoriteItems.CartLineComparator.getSortDesc(CartLine c) |
protected java.lang.String |
FavoriteItems.CartLineComparator.getSortProd(CartLine c) |