@Controller public class SettingDefinitonController extends AbstractController
Modifier and Type | Field and Description |
---|---|
private static SettingDefinitionGroup |
DEFAULT_SETTINGS_GROUP |
private SettingDefinitionEncoder |
encoder |
Constructor and Description |
---|
SettingDefinitonController() |
Modifier and Type | Method and Description |
---|---|
String |
get() |
protected SettingDefinitionEncoder |
getEncoder() |
protected Map<SettingDefinitionGroup,Set<SettingDefinition>> |
sortByGroup(Set<SettingDefinition<?,?>> defs) |
getBasePath, getContext, getDatabaseSettingsHandler, getMetaDataHandler, getSettingsManager, parseBoolean, parseBoolean, setContext, toSimpleMap
private static final SettingDefinitionGroup DEFAULT_SETTINGS_GROUP
private SettingDefinitionEncoder encoder
@ResponseBody @RequestMapping(value="/settingDefinitions.json", method=GET, produces="application/json; charset=UTF-8") public String get() throws ConfigurationException, org.codehaus.jettison.json.JSONException
ConfigurationException
org.codehaus.jettison.json.JSONException
protected Map<SettingDefinitionGroup,Set<SettingDefinition>> sortByGroup(Set<SettingDefinition<?,?>> defs)
protected SettingDefinitionEncoder getEncoder()
Copyright © 2012-2014 52north.org. All Rights Reserved.