com.sun.j2ee.blueprints.petstore.control.web
Class ShoppingCartWebImpl

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.shoppingcart.cart.model.ShoppingCartModel
        |
        +--com.sun.j2ee.blueprints.petstore.control.web.ShoppingCartWebImpl

public class ShoppingCartWebImpl
extends ShoppingCartModel
implements ModelUpdateListener

This class is the web-tier representation of the Shopping Cart.

See Also:
Serialized Form

Constructor Summary
ShoppingCartWebImpl()
           
 
Method Summary
 java.lang.String getCartTotal()
           
 void init(javax.servlet.http.HttpSession session)
           
 void performUpdate()
           
 
Methods inherited from class com.sun.j2ee.blueprints.shoppingcart.cart.model.ShoppingCartModel
copy, getCart, getItems, getSize, getTotalCost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCartWebImpl

public ShoppingCartWebImpl()
Method Detail

init

public void init(javax.servlet.http.HttpSession session)

performUpdate

public void performUpdate()
Specified by:
performUpdate in interface ModelUpdateListener

getCartTotal

public java.lang.String getCartTotal()


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.