public interface I_CmsPreference
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
createConfigurationItem()
Creates the configuration for this preference.
|
java.lang.String |
getDefaultValue()
Gets the default value for the preference.
|
java.lang.String |
getName()
Gets the preference name.
|
CmsXmlContentProperty |
getPropertyDefinition(CmsObject cms)
Gets the metadata describing how the setting should be edited.
|
java.lang.String |
getTab()
Gets the preference tab.
|
java.lang.String |
getValue(CmsDefaultUserSettings userSettings)
Reads the value of the preference from a CmsDefaultUserSettings instance .
|
boolean |
isDisabled(CmsObject cms)
Returns true if the preference is disabled.
|
void |
setValue(CmsDefaultUserSettings settings,
java.lang.String value)
Sets the value of the preference in a CmsDefaultUserSettings instance.
|
org.dom4j.Element createConfigurationItem()
java.lang.String getDefaultValue()
java.lang.String getName()
CmsXmlContentProperty getPropertyDefinition(CmsObject cms)
cms - the current CMS contextjava.lang.String getTab()
java.lang.String getValue(CmsDefaultUserSettings userSettings)
userSettings - the user settings from which to read the preference valueboolean isDisabled(CmsObject cms)
cms - the current CMS contextvoid setValue(CmsDefaultUserSettings settings, java.lang.String value)
settings - the settings used to store the preference valuevalue - the new value