Class CategoryController
java.lang.Object
de.hybris.platform.cmswebservices.products.controller.CategoryController
@Controller
@RequestMapping("/v1/productcatalogs/{catalogId}/versions/{versionId}/categories")
public class CategoryController
extends Object
Controller to retrieve and search Product Categories within a Product Catalog Version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindProductCategoriesByText(String text, String mask, PageableWsDTO pageableInfo) getCategoryByCode(String code) protected ProductSearchFacadeprotected DataMapperprotected WebPaginationUtilsvoidsetCmsProductSearchFacade(ProductSearchFacade cmsProductSearchFacade) voidsetDataMapper(DataMapper dataMapper) voidsetWebPaginationUtils(WebPaginationUtils webPaginationUtils)
-
Constructor Details
-
CategoryController
public CategoryController()
-
-
Method Details
-
getCategoryByCode
@RequestMapping(value="/{code}", method=GET) @ResponseBody public CategoryWsDTO getCategoryByCode(@PathVariable String code) throws CMSItemNotFoundException, ConversionException -
findProductCategoriesByText
@RequestMapping(method=GET, params="pageSize") @ResponseBody public CategoryDataListWsDTO findProductCategoriesByText(@RequestParam(required=false) String text, @RequestParam(required=false) String mask, @ModelAttribute PageableWsDTO pageableInfo) -
getCmsProductSearchFacade
-
setCmsProductSearchFacade
-
getWebPaginationUtils
-
setWebPaginationUtils
-
getDataMapper
-
setDataMapper
-