@Controller
public class SettingsController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.directwebremoting.util.Logger |
log |
static java.lang.String |
SECTIONS |
static java.lang.String |
SETTINGS_FORM |
static java.lang.String |
SETTINGS_PATH |
static java.lang.String |
SHOW |
Constructor and Description |
---|
SettingsController() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getSections() |
java.util.List<SettingsProperty> |
getSettings(java.lang.String section) |
SettingsForm |
getSettingsForm(java.lang.String show) |
void |
showSettings() |
void |
updateSettings(SettingsForm settingsForm,
org.springframework.validation.Errors errors,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session) |
protected final org.directwebremoting.util.Logger log
public static final java.lang.String SETTINGS_PATH
public static final java.lang.String SETTINGS_FORM
public static final java.lang.String SHOW
public static final java.lang.String SECTIONS
@RequestMapping(value="/admin/maintenance/settings", method=GET) public void showSettings()
@RequestMapping(value="/admin/maintenance/settings", method=POST) public void updateSettings(@ModelAttribute(value="settingsForm") SettingsForm settingsForm, org.springframework.validation.Errors errors, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
@ModelAttribute(value="sections") public java.util.List<java.lang.String> getSections()
@ModelAttribute(value="settingsForm") public SettingsForm getSettingsForm(@RequestParam(value="show",required=false) java.lang.String show)
public java.util.List<SettingsProperty> getSettings(java.lang.String section)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.