Class NotificationPreferencePageController


@Controller @Scope("tenant") @RequestMapping("/my-account/notification-preference") public class NotificationPreferencePageController extends AbstractPageController
Controller for displaying and updating notification preference
  • Constructor Details

    • NotificationPreferencePageController

      public NotificationPreferencePageController()
  • Method Details

    • initBinder

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

      @RequestMapping(method=GET) public String getNotificationPreferences(org.springframework.ui.Model model) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • updateNotificationPreference

      @RequestMapping(method=POST) public String updateNotificationPreference(NotificationChannelForm notificationPreferenceForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException