public class CategoryWrapper extends BaseWrapper implements APIWrapper<Category>
wrap method. super.wrap(Category) super.name = null; | Modifier and Type | Field and Description |
|---|---|
protected Boolean |
active |
protected Date |
activeEndDate |
protected Date |
activeStartDate |
protected List<CategoryAttributeWrapper> |
categoryAttributes |
protected String |
description |
protected Long |
id |
protected String |
name |
protected List<ProductWrapper> |
products |
protected List<CategoryWrapper> |
subcategories |
protected String |
url |
protected String |
urlKey |
context| Constructor and Description |
|---|
CategoryWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected List<CategoryWrapper> |
buildSubcategoryTree(List<CategoryWrapper> wrappers,
Category root,
javax.servlet.http.HttpServletRequest request) |
void |
wrapDetails(Category category,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Category category,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String name
protected String description
protected Boolean active
protected String url
protected String urlKey
protected Date activeStartDate
protected Date activeEndDate
protected List<CategoryWrapper> subcategories
protected List<ProductWrapper> products
protected List<CategoryAttributeWrapper> categoryAttributes
public void wrapDetails(Category category, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Category>public void wrapSummary(Category category, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Category>protected List<CategoryWrapper> buildSubcategoryTree(List<CategoryWrapper> wrappers, Category root, javax.servlet.http.HttpServletRequest request)
Copyright © 2013. All Rights Reserved.