Package | Description |
---|---|
com.dpslink.flash.servlet |
DPS Flash specific servlets for handling shopping functions.
|
Modifier and Type | Method and Description |
---|---|
private void |
QuickOrder.addToCart(QuickOrder.Context ctx)
Handles processing for an add to cart request.
|
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.
|
private void |
QuickOrder.addToCartResponse(QuickOrder.Context ctx)
Sends a JSON formatted response to the browser for an add to cart request.
|
private boolean |
QuickOrder.addToCartValidate(QuickOrder.Context ctx)
Validates the submitted add to cart product values (product, units)
with the Flash database and the ERP database.
|
private boolean |
QuickOrder.appendMessage(QuickOrder.Context ctx,
java.lang.String msgname)
Appends the text for the given message name to the current set of response
messages.
|
private java.lang.String |
QuickOrder.formatCartLinePrice(QuickOrder.Context ctx,
CartLine cartline)
Returns a formatted price for the given cart line.
|
private void |
QuickOrder.removeFromCart(QuickOrder.Context ctx)
Handles processing for a remove from cart request.
|
private void |
QuickOrder.removeFromCartResponse(QuickOrder.Context ctx)
Sends a JSON formatted response to the browser for a remove from cart
request.
|
private void |
QuickOrder.search(QuickOrder.Context ctx)
Handles processing for an auto complete search request.
|
private void |
QuickOrder.searchResponse(QuickOrder.Context ctx,
java.util.ArrayList<QuickOrder.SearchResult> results)
Sends a JSON formatted response to the browser for an auto complete
search request.
|
private void |
QuickOrder.updateCart(QuickOrder.Context ctx)
Handles processing for an update cart request.
|
private void |
QuickOrder.updateCartResponse(QuickOrder.Context ctx)
Sends a JSON formatted response to the browser for an update cart request.
|
private void |
QuickOrder.writeResponse(QuickOrder.Context ctx,
java.lang.String response)
Writes a JSON formatted response to the http response output stream.
|