Class TmaProductApiController
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaProductApiController
-
- All Implemented Interfaces:
TmaProductApi
@Controller public class TmaProductApiController extends TmaBaseController implements TmaProductApi
-
-
Field Summary
-
Fields inherited from interface de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaProductApi
DEFAULT_RESPONSE, log
-
-
Constructor Summary
Constructors Constructor Description TmaProductApiController(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<javax.servlet.http.HttpServletRequest>getRequest()org.springframework.http.ResponseEntity<java.lang.Object>productGet(java.lang.String productId, @Valid java.lang.String fields, java.lang.String baseSiteId)protected voidsetProductHref(java.lang.String href, TmaProductWsDto productWsDto)-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaProductApi
getAcceptHeader
-
-
-
-
Method Detail
-
productGet
public org.springframework.http.ResponseEntity<java.lang.Object> productGet(@PathVariable("productId") java.lang.String productId, @Valid @RequestParam(value="fields",required=false) @Valid java.lang.String fields, @RequestParam(required=false) java.lang.String baseSiteId)- Specified by:
productGetin interfaceTmaProductApi
-
setProductHref
protected void setProductHref(java.lang.String href, TmaProductWsDto productWsDto)
-
getRequest
public java.util.Optional<javax.servlet.http.HttpServletRequest> getRequest()
- Specified by:
getRequestin interfaceTmaProductApi
-
-