Class NotificationsController

java.lang.Object
org.duracloud.account.app.controller.NotificationsController

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    edit(Long templateId)
     
    org.springframework.web.servlet.ModelAndView
    get()
     
    org.springframework.web.servlet.ModelAndView
    update(long templateId, EmailTemplateForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NotificationsController

      public NotificationsController()
  • Method Details

    • 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)