Class CartActionBean

java.lang.Object
org.mybatis.jpetstore.web.actions.AbstractActionBean
org.mybatis.jpetstore.web.actions.CartActionBean
All Implemented Interfaces:
Serializable, net.sourceforge.stripes.action.ActionBean

@SessionScope public class CartActionBean extends AbstractActionBean
The Class CartActionBean.
Author:
Eduardo Macarron
See Also:
  • Constructor Details

    • CartActionBean

      public CartActionBean()
  • Method Details

    • getCart

      public Cart getCart()
    • setCart

      public void setCart(Cart cart)
    • setWorkingItemId

      public void setWorkingItemId(String workingItemId)
    • addItemToCart

      public net.sourceforge.stripes.action.Resolution addItemToCart()
      Adds the item to cart.
      Returns:
      the resolution
    • removeItemFromCart

      public net.sourceforge.stripes.action.Resolution removeItemFromCart()
      Removes the item from cart.
      Returns:
      the resolution
    • updateCartQuantities

      public net.sourceforge.stripes.action.Resolution updateCartQuantities()
      Update cart quantities.
      Returns:
      the resolution
    • viewCart

      public net.sourceforge.stripes.action.ForwardResolution viewCart()
    • checkOut

      public net.sourceforge.stripes.action.ForwardResolution checkOut()
    • clear

      public void clear()