com.broadleafcommerce.core.rest.api.v2.wrapper.CategoryWrapper@Deprecated 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
Deprecated.
|
protected Date |
activeEndDate
Deprecated.
|
protected Date |
activeStartDate
Deprecated.
|
protected List<CategoryAttributeWrapper> |
categoryAttributes
Deprecated.
|
protected String |
description
Deprecated.
|
protected Long |
id
Deprecated.
|
protected String |
name
Deprecated.
|
protected List<ProductWrapper> |
products
Deprecated.
|
protected List<CategoryWrapper> |
subcategories
Deprecated.
|
protected String |
url
Deprecated.
|
protected String |
urlKey
Deprecated.
|
context| Constructor and Description |
|---|
CategoryWrapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<CategoryWrapper> |
buildSubcategoryTree(List<CategoryWrapper> wrappers,
Category root,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
Boolean |
getActive()
Deprecated.
|
Date |
getActiveEndDate()
Deprecated.
|
Date |
getActiveStartDate()
Deprecated.
|
List<CategoryAttributeWrapper> |
getCategoryAttributes()
Deprecated.
|
String |
getDescription()
Deprecated.
|
Long |
getId()
Deprecated.
|
String |
getName()
Deprecated.
|
List<ProductWrapper> |
getProducts()
Deprecated.
|
protected SearchService |
getSearchService()
Deprecated.
|
List<CategoryWrapper> |
getSubcategories()
Deprecated.
|
String |
getUrl()
Deprecated.
|
String |
getUrlKey()
Deprecated.
|
void |
setActive(Boolean active)
Deprecated.
|
void |
setActiveEndDate(Date activeEndDate)
Deprecated.
|
void |
setActiveStartDate(Date activeStartDate)
Deprecated.
|
void |
setCategoryAttributes(List<CategoryAttributeWrapper> categoryAttributes)
Deprecated.
|
void |
setDescription(String description)
Deprecated.
|
void |
setId(Long id)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setProducts(List<ProductWrapper> products)
Deprecated.
|
void |
setSubcategories(List<CategoryWrapper> subcategories)
Deprecated.
|
void |
setUrl(String url)
Deprecated.
|
void |
setUrlKey(String urlKey)
Deprecated.
|
void |
wrapDetails(Category category,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
void |
wrapSummary(Category category,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapperprotected 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)
protected SearchService getSearchService()
public Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic Boolean getActive()
public void setActive(Boolean active)
active - the active to setpublic String getUrl()
public void setUrl(String url)
url - the url to setpublic String getUrlKey()
public void setUrlKey(String urlKey)
urlKey - the urlKey to setpublic Date getActiveStartDate()
public void setActiveStartDate(Date activeStartDate)
activeStartDate - the activeStartDate to setpublic Date getActiveEndDate()
public void setActiveEndDate(Date activeEndDate)
activeEndDate - the activeEndDate to setpublic List<CategoryWrapper> getSubcategories()
public void setSubcategories(List<CategoryWrapper> subcategories)
subcategories - the subcategories to setpublic List<ProductWrapper> getProducts()
public void setProducts(List<ProductWrapper> products)
products - the products to setpublic List<CategoryAttributeWrapper> getCategoryAttributes()
public void setCategoryAttributes(List<CategoryAttributeWrapper> categoryAttributes)
categoryAttributes - the categoryAttributes to setCopyright © 2021. All rights reserved.