Package | Description |
---|---|
com.broadleafcommerce.rest.api.endpoint.catalog | |
com.broadleafcommerce.rest.api.wrapper |
Modifier and Type | Method and Description |
---|---|
CategoryWrapper |
CatalogEndpoint.findCategoryById(javax.servlet.http.HttpServletRequest request,
Long id,
int productLimit,
int productOffset,
int subcategoryLimit,
int subcategoryOffset) |
CategoryWrapper |
CatalogEndpoint.findCategoryByIdOrName(javax.servlet.http.HttpServletRequest request,
String searchParameter,
int productLimit,
int productOffset,
int subcategoryLimit,
int subcategoryOffset)
Allows you to search for a category by ID or by name.
|
Modifier and Type | Field and Description |
---|---|
protected List<CategoryWrapper> |
CategoriesWrapper.categories |
protected List<CategoryWrapper> |
CategoryWrapper.subcategories |
Modifier and Type | Method and Description |
---|---|
protected List<CategoryWrapper> |
CategoryWrapper.buildSubcategoryTree(List<CategoryWrapper> wrappers,
org.broadleafcommerce.core.catalog.domain.Category root,
javax.servlet.http.HttpServletRequest request) |
List<CategoryWrapper> |
CategoriesWrapper.getCategories() |
List<CategoryWrapper> |
CategoryWrapper.getSubcategories() |
Modifier and Type | Method and Description |
---|---|
protected List<CategoryWrapper> |
CategoryWrapper.buildSubcategoryTree(List<CategoryWrapper> wrappers,
org.broadleafcommerce.core.catalog.domain.Category root,
javax.servlet.http.HttpServletRequest request) |
void |
CategoriesWrapper.setCategories(List<CategoryWrapper> categories) |
void |
CategoryWrapper.setSubcategories(List<CategoryWrapper> subcategories) |
Copyright © 2020. All rights reserved.