Class TmaOccRecommendationController
java.lang.Object
de.hybris.platform.b2ctelcooccaddon.controllers.BaseController
de.hybris.platform.b2ctelcooccaddon.controllers.TmaOccRecommendationController
@Controller
@RequestMapping("/{baseSiteId}/users/{userId}")
public class TmaOccRecommendationController
extends BaseController
Controller exposing operations related to the Recommendation offer for the customer
- Since:
- 1907
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcooccaddon.controllers.BaseController
DEFAULT_FIELD_SET, FULL_FIELD_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOffers(String processType, String subscriberIdentities, String affectedProductCode, String fields) Deprecated.since 2007.getProcessTypes(String fields) Deprecated.since 2007.getSubscriptionBases(String processType, String fields) Deprecated.since 2007.Methods inherited from class de.hybris.platform.b2ctelcooccaddon.controllers.BaseController
getDataMapper, getI18nService, getMessageSource, handleErrorInternal, handleModelNotFoundException, sanitize, setDataMapper, setI18nService, setMessageSource, validate
-
Constructor Details
-
TmaOccRecommendationController
public TmaOccRecommendationController()
-
-
Method Details
-
getProcessTypes
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("/qualifiedProcessTypes") @ResponseBody @Deprecated(since="2007") public TmaProcessTypeListWsDto getProcessTypes(@RequestParam(defaultValue="DEFAULT") String fields) Deprecated.since 2007. Use instead recommendations implemented in TMF versionTmaProcessTypeManagementApiController. -
getOffers
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("/recommendations") @ResponseBody @Deprecated(since="2007") public TmaRecommendationProductsWsDto getOffers(@RequestParam(required=false) String processType, @RequestParam(required=false) String subscriberIdentities, @RequestParam(required=false) String affectedProductCode, @RequestParam(defaultValue="DEFAULT") String fields) Deprecated.since 2007. Use instead recommendations implemented in TMF versionTmaRecommendationApiController. -
getSubscriptionBases
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("{processType}/subscriptionBases") @ResponseBody @Deprecated(since="2007") public TmaEligibleSubscriptionSelectionListWsDto getSubscriptionBases(@PathVariable String processType, @RequestParam(defaultValue="DEFAULT") String fields) Deprecated.since 2007. Use instead recommendations implemented in TMF versionTmaSubscriptionBaseApiControllerandTmaSubscriptionApiController.
-