Class TmaProductSpecificationApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaProductSpecificationApiController
- All Implemented Interfaces:
ProductSpecificationApi
@Controller
public class TmaProductSpecificationApiController
extends TmaBaseController
implements ProductSpecificationApi
Default implementation of
ProductSpecificationApi- Since:
- 2102
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaProductSpecificationFacadeorg.springframework.http.ResponseEntity<ProductSpecification>retrieveProductSpecification(String id, @Valid String fields, @Valid String baseSiteId) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, hasRole, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaProductSpecificationApiController
public TmaProductSpecificationApiController()
-
-
Method Details
-
retrieveProductSpecification
@RequestMapping(value="/productSpecification/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<ProductSpecification> retrieveProductSpecification(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId) - Specified by:
retrieveProductSpecificationin interfaceProductSpecificationApi
-
getTmaProductSpecificationFacade
-