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 StringBASE_MAPPING
-
Constructor Summary
Constructors Constructor Description NotificationsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.ModelAndViewedit(Long templateId)org.springframework.web.servlet.ModelAndViewget()org.springframework.web.servlet.ModelAndViewupdate(long templateId, EmailTemplateForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
-
-
-
Field Detail
-
BASE_MAPPING
public static final String BASE_MAPPING
- See Also:
- Constant Field Values
-
-
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)
-
-