Class TmaCategoryApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaCategoryApiController
- All Implemented Interfaces:
CategoryApi
Default implementation of
CategoryApi- Since:
- 1903
-
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 static Set<de.hybris.platform.commercefacades.catalog.CatalogOption>retrieveCategory(String id, @Valid String fields, @Valid String baseSiteId) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
encodeUrl, filter, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaCategoryApiController
public TmaCategoryApiController()
-
-
Method Details
-
retrieveCategory
@RequestMapping(value="/category/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<Category>> retrieveCategory(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId) - Specified by:
retrieveCategoryin interfaceCategoryApi
-
getOptions
-