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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewedit()form()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 Details
-
BASE_MAPPING
- See Also:
-
-
Constructor Details
-
GlobalPropertiesController
public GlobalPropertiesController()
-
-
Method Details
-
setGlobalPropertiesConfigService
public void setGlobalPropertiesConfigService(GlobalPropertiesConfigService globalPropertiesConfigService) -
setRabbitmqConfigService
-
get
@RequestMapping("") public org.springframework.web.servlet.ModelAndView get()- Returns:
-
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)
-