Class GlobalPropertiesController
- java.lang.Object
-
- org.duracloud.account.app.controller.GlobalPropertiesController
-
@Controller @RequestMapping("/root/globalproperties") public class GlobalPropertiesController 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 GlobalPropertiesController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.ModelAndViewedit()GlobalPropertiesFormform()org.springframework.web.servlet.ModelAndViewget()voidsetGlobalPropertiesConfigService(GlobalPropertiesConfigService globalPropertiesConfigService)voidsetRabbitmqConfigService(RabbitmqConfigService rabbitmqConfigService)org.springframework.web.servlet.ModelAndViewupdate(GlobalPropertiesForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, 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
-
setGlobalPropertiesConfigService
public void setGlobalPropertiesConfigService(GlobalPropertiesConfigService globalPropertiesConfigService)
-
setRabbitmqConfigService
public void setRabbitmqConfigService(RabbitmqConfigService rabbitmqConfigService)
-
get
@RequestMapping("") public org.springframework.web.servlet.ModelAndView get()- Returns:
-
form
@ModelAttribute("globalProperties") public GlobalPropertiesForm form()
-
edit
@RequestMapping(value="/edit", method=GET) public org.springframework.web.servlet.ModelAndView edit()
-
update
@RequestMapping(value="/edit", method=POST) @Transactional public org.springframework.web.servlet.ModelAndView update(@ModelAttribute("globalProperties") GlobalPropertiesForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
-
-