Class StockNotificationPageController


@Controller @Scope("tenant") @RequestMapping("/my-account/my-stocknotification") public class StockNotificationPageController extends AbstractPageController
  • Constructor Details

    • StockNotificationPageController

      public StockNotificationPageController()
  • Method Details

    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
    • getStockNotification

      @GetMapping("/open/{productCode:.*}") public String getStockNotification(@PathVariable("productCode") String encodedProductCode, @RequestParam(value="channel",required=false) String channel, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
    • addStockNotification

      @PostMapping("/add/{productCode:.*}") @ResponseBody public String addStockNotification(@PathVariable String productCode, @ModelAttribute("stockNotificationForm") StockNotificationForm stockNotificationForm, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
    • removeStockNotification

      @PostMapping("/remove/{productCode:.*}") @ResponseBody public String removeStockNotification(@PathVariable String productCode, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)