Class NotificationPreferencePageController


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

      • NotificationPreferencePageController

        public NotificationPreferencePageController()
    • Method Detail

      • initBinder

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

        @RequestMapping(method=POST)
        public java.lang.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