public class CategoriesWrapper extends BaseWrapper implements APIWrapper<List<Category>>
| Modifier and Type | Field and Description |
|---|---|
protected List<CategoryWrapper> |
categories |
context| Constructor and Description |
|---|
CategoriesWrapper() |
| Modifier and Type | Method and Description |
|---|---|
List<CategoryWrapper> |
getCategories() |
void |
setCategories(List<CategoryWrapper> categories) |
void |
wrapDetails(List<Category> cats,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(List<Category> cats,
javax.servlet.http.HttpServletRequest request) |
createElementWrappers, setApplicationContextprotected List<CategoryWrapper> categories
public void wrapDetails(List<Category> cats, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<List<Category>>public void wrapSummary(List<Category> cats, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<List<Category>>public List<CategoryWrapper> getCategories()
public void setCategories(List<CategoryWrapper> categories)
categories - the categories to setCopyright © 2015. All Rights Reserved.