public class CmsUserSettingsBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
CmsUserSettingsBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSetting(java.lang.String value,
CmsXmlContentProperty config,
boolean basic)
Adds a user setting.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
getConfiguration()
Gets the map with the configurations for the individual user settings.
|
java.lang.String |
getValue(java.lang.String key)
Gets the value for a given user setting.
|
boolean |
isBasic(java.lang.String name)
Returns true if the user setting with the given name is a basic setting
|
public CmsUserSettingsBean()
public void addSetting(java.lang.String value, CmsXmlContentProperty config, boolean basic)
value - the current value of the user settingconfig - the configuration for the user settingbasic - true if this is a basic user settingpublic java.util.Map<java.lang.String,CmsXmlContentProperty> getConfiguration()
public java.lang.String getValue(java.lang.String key)
key - the user setting keypublic boolean isBasic(java.lang.String name)
name - the user setting name