Class CategoryController
java.lang.Object
de.hybris.platform.cmssmarteditwebservices.products.controller.CategoryController
@Controller
@RequestMapping("/v1/sites/{baseSiteId}/categories")
public class CategoryController
extends Object
Controller to retrieve Product Categories by its item composed key. For more details about how to generate the item
composed key, refer to the documentation about the
UniqueItemIdentifierService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCategoryByCode(String code) protected ProductSearchFacadeprotected DataMapperprotected WebPaginationUtilsvoidsetCmsSeProductSearchFacade(ProductSearchFacade cmsSeProductSearchFacade) voidsetDataMapper(DataMapper dataMapper) voidsetWebPaginationUtils(WebPaginationUtils webPaginationUtils)
-
Constructor Details
-
CategoryController
public CategoryController()
-
-
Method Details
-
getCategoryByCode
@GetMapping("/{code}") @ResponseBody public CategoryWsDTO getCategoryByCode(@PathVariable String code) -
getCmsSeProductSearchFacade
-
setCmsSeProductSearchFacade
-
getWebPaginationUtils
-
setWebPaginationUtils
-
getDataMapper
-
setDataMapper
-