Class NotificationsController


  • @Controller
    @RequestMapping("/root/notifications")
    public class NotificationsController
    extends Object
    Author:
    Daniel Bernstein Date: 01/05/2015
    • Constructor Detail

      • NotificationsController

        public NotificationsController()
    • Method Detail

      • get

        @RequestMapping("")
        public org.springframework.web.servlet.ModelAndView get()
        Returns:
      • edit

        @RequestMapping(value="/edit/{templateId}",
                        method=GET)
        public org.springframework.web.servlet.ModelAndView edit​(@PathVariable
                                                                 Long templateId)
      • update

        @RequestMapping(value="/edit/{templateId}",
                        method=POST)
        @Transactional
        public org.springframework.web.servlet.ModelAndView update​(@PathVariable
                                                                   long templateId,
                                                                   @ModelAttribute("emailTemplateForm")
                                                                   EmailTemplateForm form,
                                                                   org.springframework.validation.BindingResult bindingResult,
                                                                   org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)