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()
      Gets the keyword.
      Returns:
      the keyword
    • setKeyword

      public void setKeyword(String keyword)
      Sets the keyword.
      Parameters:
      keyword - the keyword
    • getCategoryId

      public String getCategoryId()
      Gets the category id.
      Returns:
      the category id
    • setCategoryId

      public void setCategoryId(String categoryId)
      Sets the category id.
      Parameters:
      categoryId - the category id
    • getProductId

      public String getProductId()
      Gets the product id.
      Returns:
      the product id
    • setProductId

      public void setProductId(String productId)
      Sets the product id.
      Parameters:
      productId - the product id
    • getItemId

      public String getItemId()
      Gets the item id.
      Returns:
      the item id
    • setItemId

      public void setItemId(String itemId)
      Sets the item id.
      Parameters:
      itemId - the item id
    • getCategory

      public Category getCategory()
      Gets the category.
      Returns:
      the category
    • setCategory

      public void setCategory(Category category)
      Sets the category.
      Parameters:
      category - the category
    • getProduct

      public Product getProduct()
      Gets the product.
      Returns:
      the product
    • setProduct

      public void setProduct(Product product)
      Sets the product.
      Parameters:
      product - the product
    • getItem

      public Item getItem()
      Gets the item.
      Returns:
      the item
    • setItem

      public void setItem(Item item)
      Sets the item.
      Parameters:
      item - the item
    • getCategoryList

      public List<Category> getCategoryList()
      Gets the category list.
      Returns:
      the category list
    • setCategoryList

      public void setCategoryList(List<Category> categoryList)
      Sets the category list.
      Parameters:
      categoryList - the category list
    • getProductList

      public List<Product> getProductList()
      Gets the product list.
      Returns:
      the product list
    • setProductList

      public void setProductList(List<Product> productList)
      Sets the product list.
      Parameters:
      productList - the product list
    • getItemList

      public List<Item> getItemList()
      Gets the item list.
      Returns:
      the item list
    • setItemList

      public void setItemList(List<Item> itemList)
      Sets the item list.
      Parameters:
      itemList - the item list
    • viewMain

      @DefaultHandler public net.sourceforge.stripes.action.ForwardResolution viewMain()
      View main.
      Returns:
      the forward resolution
    • 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.