public class CategoriesWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<List<org.broadleafcommerce.core.catalog.domain.Category>>
| Modifier and Type | Field and Description |
|---|---|
protected List<CategoryWrapper> |
categories |
| Constructor and Description |
|---|
CategoriesWrapper() |
| Modifier and Type | Method and Description |
|---|---|
List<CategoryWrapper> |
getCategories() |
void |
setCategories(List<CategoryWrapper> categories) |
void |
wrapDetails(List<org.broadleafcommerce.core.catalog.domain.Category> cats,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(List<org.broadleafcommerce.core.catalog.domain.Category> cats,
javax.servlet.http.HttpServletRequest request) |
protected List<CategoryWrapper> categories
public void wrapDetails(List<org.broadleafcommerce.core.catalog.domain.Category> cats, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<List<org.broadleafcommerce.core.catalog.domain.Category>>public void wrapSummary(List<org.broadleafcommerce.core.catalog.domain.Category> cats, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<List<org.broadleafcommerce.core.catalog.domain.Category>>public List<CategoryWrapper> getCategories()
public void setCategories(List<CategoryWrapper> categories)
categories - the categories to setCopyright © 2020. All rights reserved.