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 BaseControllerController 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 Constructor Description TmaOccRecommendationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TmaRecommendationProductsWsDtogetOffers(java.lang.String processType, java.lang.String subscriberIdentities, java.lang.String affectedProductCode, java.lang.String fields)TmaProcessTypeListWsDtogetProcessTypes(java.lang.String fields)TmaEligibleSubscriptionSelectionListWsDtogetSubscriptionBases(java.lang.String processType, java.lang.String fields)-
Methods inherited from class de.hybris.platform.b2ctelcooccaddon.controllers.BaseController
getDataMapper, getI18nService, getMessageSource, handleErrorInternal, handleModelNotFoundException, sanitize, setDataMapper, setI18nService, setMessageSource, validate
-
-
-
-
Method Detail
-
getProcessTypes
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("/qualifiedProcessTypes") @ResponseBody public TmaProcessTypeListWsDto getProcessTypes(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getOffers
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("/recommendations") @ResponseBody public TmaRecommendationProductsWsDto getOffers(@RequestParam(required=false) java.lang.String processType, @RequestParam(required=false) java.lang.String subscriberIdentities, @RequestParam(required=false) java.lang.String affectedProductCode, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getSubscriptionBases
@Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @GetMapping("{processType}/subscriptionBases") @ResponseBody public TmaEligibleSubscriptionSelectionListWsDto getSubscriptionBases(@PathVariable java.lang.String processType, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
-