Class ProductController
java.lang.Object
de.hybris.platform.cmssmarteditwebservices.products.controller.ProductController
@Controller
@RequestMapping("/v1/sites/{baseSiteId}/products")
public class ProductController
extends Object
Controller to retrieve Products 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 TypeMethodDescriptionprotected ProductSearchFacadeprotected DataMappergetProductByCode(String code) protected WebPaginationUtilsvoidsetCmsSeProductSearchFacade(ProductSearchFacade cmsSeProductSearchFacade) voidsetDataMapper(DataMapper dataMapper) voidsetWebPaginationUtils(WebPaginationUtils webPaginationUtils)
-
Constructor Details
-
ProductController
public ProductController()
-
-
Method Details
-
getProductByCode
@GetMapping("/{code}") @ResponseBody public ProductWsDTO getProductByCode(@PathVariable String code) -
getCmsSeProductSearchFacade
-
setCmsSeProductSearchFacade
-
getWebPaginationUtils
-
setWebPaginationUtils
-
getDataMapper
-
setDataMapper
-