Class CmsGalleryShowInvalidDefaultPreference
- java.lang.Object
-
- org.opencms.configuration.preferences.A_CmsPreference
-
- org.opencms.configuration.preferences.CmsBuiltinPreference
-
- org.opencms.configuration.preferences.CmsGalleryShowInvalidDefaultPreference
-
- All Implemented Interfaces:
I_CmsPreference
public class CmsGalleryShowInvalidDefaultPreference extends CmsBuiltinPreference
Class for the preference which controls whether invalid elements should be shown by default in the gallery result tab.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions
-
-
Field Summary
-
Fields inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
m_basic, m_hidden
-
-
Constructor Summary
Constructors Constructor Description CmsGalleryShowInvalidDefaultPreference(java.lang.String propName)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsXmlContentProperty
getPropertyDefinition()
Gets the user-independent property configuration.-
Methods inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
getDefaultValue, getName, getTab, getValue, setValue
-
Methods inherited from class org.opencms.configuration.preferences.A_CmsPreference
createConfigurationItem, getPropertyDefinition, isDisabled
-
-
-
-
Constructor Detail
-
CmsGalleryShowInvalidDefaultPreference
public CmsGalleryShowInvalidDefaultPreference(java.lang.String propName)
Creates a new instance.- Parameters:
propName
- the property name
-
-
Method Detail
-
getPropertyDefinition
public CmsXmlContentProperty getPropertyDefinition()
Description copied from class:A_CmsPreference
Gets the user-independent property configuration.This is what is used to write the preference back to the workplace configuration.
- Overrides:
getPropertyDefinition
in classCmsBuiltinPreference
- Returns:
- the property configuration
- See Also:
CmsBuiltinPreference.getPropertyDefinition()
-
-