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 org.mybatis.jpetstore.web.actions.AbstractActionBean
context, ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear.getItem()
net.sourceforge.stripes.action.ForwardResolution
Search products.void
setCategory
(Category category) void
setCategoryId
(String categoryId) void
setCategoryList
(List<Category> categoryList) void
void
void
setItemList
(List<Item> itemList) void
setKeyword
(String keyword) void
setProduct
(Product product) void
setProductId
(String productId) void
setProductList
(List<Product> productList) net.sourceforge.stripes.action.ForwardResolution
View category.net.sourceforge.stripes.action.ForwardResolution
viewItem()
View item.net.sourceforge.stripes.action.ForwardResolution
viewMain()
net.sourceforge.stripes.action.ForwardResolution
View product.Methods inherited from class org.mybatis.jpetstore.web.actions.AbstractActionBean
getContext, setContext, setMessage
-
Constructor Details
-
CatalogActionBean
public CatalogActionBean()
-
-
Method Details
-
getKeyword
-
setKeyword
-
getCategoryId
-
setCategoryId
-
getProductId
-
setProductId
-
getItemId
-
setItemId
-
getCategory
-
setCategory
-
getProduct
-
setProduct
-
getItem
-
setItem
-
getCategoryList
-
setCategoryList
-
getProductList
-
setProductList
-
getItemList
-
setItemList
-
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.
-