Class TmaProductApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaProductApiController
- All Implemented Interfaces:
ProductApi
Default implementation of
ProductApi- Since:
- 2102
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Product>retrieveProduct(String id, @Valid String fields, @Valid String baseSiteId) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getTmaCatalogVersionFacade, getUnsuccessfulResponse, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString, setCatalogVersion
-
Constructor Details
-
TmaProductApiController
public TmaProductApiController()
-
-
Method Details
-
retrieveProduct
@RequestMapping(value="/product/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<Product> retrieveProduct(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId) - Specified by:
retrieveProductin interfaceProductApi
-