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 of
TmaSubscriptionApi.- Since:
- 1810
-
Field Summary
FieldsFields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>findSubscriptionbaseForId(String subscriptionBaseId, @Valid String fields, String baseSiteId) Optional<javax.servlet.http.HttpServletRequest>protected voidsetSubscriptionBaseHref(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, sanitizeQueryStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaSubscriptionApi
getAcceptHeader
-
Field Details
-
LOG
public static final org.apache.log4j.Logger LOG
-
-
Constructor Details
-
TmaSubscriptionApiController
@Autowired public TmaSubscriptionApiController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
findSubscriptionbaseForId
public org.springframework.http.ResponseEntity<Object> findSubscriptionbaseForId(@PathVariable("subscriptionBaseId") String subscriptionBaseId, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @RequestParam(required=false) String baseSiteId) - Specified by:
findSubscriptionbaseForIdin interfaceTmaSubscriptionApi
-
setSubscriptionBaseHref
-
getRequest
- Specified by:
getRequestin interfaceTmaSubscriptionApi
-