Class CatalogActionBean

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

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

    • CatalogActionBean

      public CatalogActionBean()
  • Method Details

    • getKeyword

      public String getKeyword()
    • setKeyword

      public void setKeyword(String keyword)
    • getCategoryId

      public String getCategoryId()
    • setCategoryId

      public void setCategoryId(String categoryId)
    • getProductId

      public String getProductId()
    • setProductId

      public void setProductId(String productId)
    • getItemId

      public String getItemId()
    • setItemId

      public void setItemId(String itemId)
    • getCategory

      public Category getCategory()
    • setCategory

      public void setCategory(Category category)
    • getProduct

      public Product getProduct()
    • setProduct

      public void setProduct(Product product)
    • getItem

      public Item getItem()
    • setItem

      public void setItem(Item item)
    • getCategoryList

      public List<Category> getCategoryList()
    • setCategoryList

      public void setCategoryList(List<Category> categoryList)
    • getProductList

      public List<Product> getProductList()
    • setProductList

      public void setProductList(List<Product> productList)
    • getItemList

      public List<Item> getItemList()
    • setItemList

      public void setItemList(List<Item> itemList)
    • viewMain

      @DefaultHandler public net.sourceforge.stripes.action.ForwardResolution viewMain()
    • viewCategory

      public net.sourceforge.stripes.action.ForwardResolution viewCategory()
      View category.
      Returns:
      the forward resolution
    • viewProduct

      public net.sourceforge.stripes.action.ForwardResolution viewProduct()
      View product.
      Returns:
      the forward resolution
    • viewItem

      public net.sourceforge.stripes.action.ForwardResolution viewItem()
      View item.
      Returns:
      the forward resolution
    • searchProducts

      public net.sourceforge.stripes.action.ForwardResolution searchProducts()
      Search products.
      Returns:
      the forward resolution
    • clear

      public void clear()
      Clear.