public abstract class A_CmsPreference extends java.lang.Object implements I_CmsPreference
| Constructor and Description |
|---|
A_CmsPreference() |
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
createConfigurationItem()
Creates the configuration for this preference.
|
protected abstract CmsXmlContentProperty |
getPropertyDefinition()
Gets the user-independent property configuration.
|
CmsXmlContentProperty |
getPropertyDefinition(CmsObject cms)
Gets the metadata describing how the setting should be edited.
|
boolean |
isDisabled(CmsObject cms)
Returns true if the preference is disabled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValue, getName, getTab, getValue, setValuepublic A_CmsPreference()
public org.dom4j.Element createConfigurationItem()
I_CmsPreferencecreateConfigurationItem in interface I_CmsPreferenceI_CmsPreference.createConfigurationItem()public CmsXmlContentProperty getPropertyDefinition(CmsObject cms)
I_CmsPreferencegetPropertyDefinition in interface I_CmsPreferencecms - the current CMS contextI_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)public boolean isDisabled(CmsObject cms)
I_CmsPreferenceisDisabled in interface I_CmsPreferencecms - the current CMS contextI_CmsPreference.isDisabled(CmsObject)protected abstract CmsXmlContentProperty getPropertyDefinition()
This is what is used to write the preference back to the workplace configuration.