|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OnePageHelper
Common helper methods for single screen checkout ajax controllers.
Method Summary | |
---|---|
java.util.List |
getCartItems(ShoppingCart shoppingCart)
Method for retreiving convenience-wrapped shopping cart items through dwr. |
java.lang.String |
getOrderSummary(ShoppingCart shoppingCart)
Generates the order summary html for the given shopping cart. |
void |
setDefaultBeanValidator(org.springmodules.commons.validator.DefaultBeanValidator defaultBeanValidator)
Set the validator. |
void |
setElasticPath(ElasticPath elasticPath)
|
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
|
void |
validate(java.lang.Object object,
java.util.Locale locale)
Validate an object recieved through dwr. |
void |
wrapShippingServiceLevels(ShoppingCart shoppingCart)
Method for wrapping the ShippingServiceLevel objects in the ShoppingCart for easy conversion through dwr. |
Method Detail |
---|
java.util.List getCartItems(ShoppingCart shoppingCart)
shoppingCart
- the shopping cart containing the cart items to wrap.
CartItemBean
objects.java.lang.String getOrderSummary(ShoppingCart shoppingCart)
shoppingCart
- the current shopping cart
void setDefaultBeanValidator(org.springmodules.commons.validator.DefaultBeanValidator defaultBeanValidator)
defaultBeanValidator
- the validatorvoid setElasticPath(ElasticPath elasticPath)
elasticPath
- the elasticPath to setvoid setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine
- the velocityEngine to setvoid validate(java.lang.Object object, java.util.Locale locale)
object
- the domain or bean object to be validatedlocale
- the current localevoid wrapShippingServiceLevels(ShoppingCart shoppingCart)
ShippingServiceLevel
objects in the ShoppingCart
for easy conversion through dwr.
shoppingCart
- the shopping cart containing the shipping service levels to wrap.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |