Class CmsPreferenceData
java.lang.Object
org.opencms.configuration.preferences.CmsPreferenceData
Bean representing the configurable attributes for a preference.
-
Constructor Summary
ConstructorDescriptionCmsPreferenceData
(String name, String value, CmsXmlContentProperty prop, String tab) Creates a new instance. -
Method Summary
-
Constructor Details
-
CmsPreferenceData
Creates a new instance.- Parameters:
name
- the preference namevalue
- the preference valueprop
- the preference configurationtab
- the tab on which to display the preference
-
-
Method Details
-
getDefaultValue
Gets the default value for the preference.- Returns:
- the default value for the preference
-
getName
Gets the name of the preference.- Returns:
- the preference name
-
getPropertyDefinition
Gets the preference definition.- Returns:
- the preference definition
-
getTab
Gets the tab on which the preference should be displayed.- Returns:
- the tab on which the preference should be displayed
-