public class CmsSitePreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptionsm_basic, m_hidden| Constructor and Description |
|---|
CmsSitePreference(java.lang.String name)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
CmsXmlContentProperty |
getPropertyDefinition()
Gets the user-independent property configuration.
|
CmsXmlContentProperty |
getPropertyDefinition(CmsObject cms)
Gets the metadata describing how the setting should be edited.
|
static java.lang.String |
getSiteSelectOptionsStatic(CmsObject cms,
java.util.Locale locale)
Gets the options for the site selector.
|
getDefaultValue, getName, getTab, getValue, setValuecreateConfigurationItem, isDisabledpublic CmsSitePreference(java.lang.String name)
name - the preference namepublic static java.lang.String getSiteSelectOptionsStatic(CmsObject cms, java.util.Locale locale)
cms - the CMS contextlocale - the locale for the select optionspublic CmsXmlContentProperty getPropertyDefinition()
A_CmsPreferenceThis is what is used to write the preference back to the workplace configuration.
getPropertyDefinition in class CmsBuiltinPreferenceA_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)public CmsXmlContentProperty getPropertyDefinition(CmsObject cms)
I_CmsPreferencegetPropertyDefinition in interface I_CmsPreferencegetPropertyDefinition in class A_CmsPreferencecms - the current CMS contextA_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)