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
The Class CatalogActionBean.
- Author:
- Eduardo Macarron
- See Also:
-
Field Summary
Fields inherited from class AbstractActionBean
context, ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear.Gets the category.Gets the category id.Gets the category list.getItem()Gets the item.Gets the item id.Gets the item list.Gets the keyword.Gets the product.Gets the product id.Gets the product list.net.sourceforge.stripes.action.ForwardResolutionSearch products.voidsetCategory(Category category) Sets the category.voidsetCategoryId(String categoryId) Sets the category id.voidsetCategoryList(List<Category> categoryList) Sets the category list.voidSets the item.voidSets the item id.voidsetItemList(List<Item> itemList) Sets the item list.voidsetKeyword(String keyword) Sets the keyword.voidsetProduct(Product product) Sets the product.voidsetProductId(String productId) Sets the product id.voidsetProductList(List<Product> productList) Sets the product list.net.sourceforge.stripes.action.ForwardResolutionView category.net.sourceforge.stripes.action.ForwardResolutionviewItem()View item.net.sourceforge.stripes.action.ForwardResolutionviewMain()View main.net.sourceforge.stripes.action.ForwardResolutionView product.Methods inherited from class AbstractActionBean
getContext, setContext, setMessage
-
Constructor Details
-
CatalogActionBean
public CatalogActionBean()
-
-
Method Details
-
getKeyword
-
setKeyword
-
getCategoryId
-
setCategoryId
Sets the category id.- Parameters:
categoryId- the category id
-
getProductId
-
setProductId
Sets the product id.- Parameters:
productId- the product id
-
getItemId
-
setItemId
-
getCategory
-
setCategory
-
getProduct
-
setProduct
-
getItem
-
setItem
-
getCategoryList
-
setCategoryList
-
getProductList
-
setProductList
-
getItemList
-
setItemList
-
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.
-