Package | Description |
---|---|
com.dpslink.flash.servlet |
DPS Flash specific servlets for handling shopping functions.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ProductDetails.addToStockNotification(ProductDetails.Context ctx)
Processes a request for stock notification and, if no errors occur,
adds the request to the restock notification table.
|
protected Product |
ProductDetails.getProductFromDb(ProductDetails.Context ctx,
java.lang.String code,
java.lang.String uom)
Retrieves the requested product from the database.
|
protected java.lang.String |
ProductDetails.getUserEmailAddress(ProductDetails.Context ctx)
Determine the correct email address to use for this session & user.
|
protected boolean |
ProductDetails.processCart(ProductDetails.Context ctx,
java.util.ArrayList<Product> products,
java.util.ArrayList<java.lang.Integer> quantities,
java.util.ArrayList<UnitMeasure> orderuoms,
java.util.ArrayList<UnitMeasure> priceuoms)
Performs the requested cart or favorites processing.
|
protected boolean |
ProductDetails.processMainProduct(ProductDetails.Context ctx)
Retrieves the submitted values for the main product and then adds the
product to the cart or favorites.
|
protected boolean |
ProductDetails.processRelatedProduct(ProductDetails.Context ctx)
Retrieves the submitted values for a single related product and then
adds the product to the cart or favorites.
|
protected boolean |
ProductDetails.processRelatedProducts(ProductDetails.Context ctx)
Retrieves the submitted values for any selected related products and then
adds the products to the cart or favorites.
|
protected boolean |
ProductDetails.setTemplateError(ProductDetails.Context ctx,
java.lang.String errName)
Sets the html template error fields for the given error name.
|
protected void |
ProductDetails.setTemplateFavorites(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the favorites data required by the html template. |
protected void |
ProductDetails.setTemplateOnOrderFromSupplier(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the on order information from supplier data required by
the html template. |
protected void |
ProductDetails.setTemplateProduct(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the product data required by the html template. |
protected void |
ProductDetails.setTemplateProductAttributes(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the product attributes data required by the html template. |
protected void |
ProductDetails.setTemplateQuantityBreaks(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the quantity price break data required by the html
template. |
protected boolean |
ProductDetails.setTemplateRelatedProducts(ProductDetails.Context ctx,
boolean inclSelectable)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the related products data required by the html template. |
protected void |
ProductDetails.setTemplateWarehouseQuantities(ProductDetails.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the warehouse quantity data required by the html template. |