Class OfferListingController
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
-
- de.hybris.platform.b2ctelcoaddon.controllers.misc.OfferListingController
-
@Controller("OffersController") @RequestMapping("/offers") public class OfferListingController extends AbstractControllerController for product offers listed on product details page.- Since:
- 6.7
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT
-
-
Constructor Summary
Constructors Constructor Description OfferListingController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TmaCustomerFacadegetCustomerFacade()java.lang.StringgetOffers(java.lang.String processType, java.lang.String affectedProductCode, java.lang.String bpoCode, java.lang.String subscriberIdentities, org.springframework.ui.Model model)protected TmaPriceOrganizationServicegetTmaPriceOrganizationService()protected TmaProductOfferFacadegetTmaProductOfferFacade()-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
-
-
-
Method Detail
-
getOffers
@RequestMapping(value="/{processType}/{affectedProductCode}", method=GET) public java.lang.String getOffers(@PathVariable java.lang.String processType, @PathVariable java.lang.String affectedProductCode, @RequestParam(required=false) java.lang.String bpoCode, @RequestParam(required=false) java.lang.String subscriberIdentities, org.springframework.ui.Model model)- Parameters:
processType- type of the process (RETENTION, TARIFF_CHANGE, etc.)affectedProductCode- code of current product from product details pagebpoCode- bpo from CPI subscriptionsubscriberIdentities- subscription identitiesmodel- page model- Returns:
- retention offer panel
-
getTmaProductOfferFacade
protected TmaProductOfferFacade getTmaProductOfferFacade()
-
getCustomerFacade
protected TmaCustomerFacade getCustomerFacade()
-
getTmaPriceOrganizationService
protected TmaPriceOrganizationService getTmaPriceOrganizationService()
-
-