Class TmaSubscriptionApiController
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaSubscriptionApiController
-
- All Implemented Interfaces:
TmaSubscriptionApi
@Controller public class TmaSubscriptionApiController extends TmaBaseController implements TmaSubscriptionApi
Default implementation ofTmaSubscriptionApi.- Since:
- 1810
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description TmaSubscriptionApiController(javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.lang.Object>findSubscriptionbaseForId(java.lang.String subscriptionBaseId, @Valid java.lang.String fields, java.lang.String baseSiteId)java.util.Optional<javax.servlet.http.HttpServletRequest>getRequest()protected voidsetSubscriptionBaseHref(java.lang.String href, TmaSubscriptionBaseWsDto subscriptionBaseWsDto)-
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.TmaSubscriptionApi
getAcceptHeader
-
-
-
-
Method Detail
-
findSubscriptionbaseForId
public org.springframework.http.ResponseEntity<java.lang.Object> findSubscriptionbaseForId(@PathVariable("subscriptionBaseId") java.lang.String subscriptionBaseId, @Valid @RequestParam(value="fields",required=false) @Valid java.lang.String fields, @RequestParam(required=false) java.lang.String baseSiteId)- Specified by:
findSubscriptionbaseForIdin interfaceTmaSubscriptionApi
-
setSubscriptionBaseHref
protected void setSubscriptionBaseHref(java.lang.String href, TmaSubscriptionBaseWsDto subscriptionBaseWsDto)
-
getRequest
public java.util.Optional<javax.servlet.http.HttpServletRequest> getRequest()
- Specified by:
getRequestin interfaceTmaSubscriptionApi
-
-