Package org.opencms.ade.configuration
Class CmsModelPageConfig
java.lang.Object
org.opencms.ade.configuration.CmsModelPageConfig
- All Implemented Interfaces:
Cloneable,I_CmsConfigurationObject<CmsModelPageConfig>
public class CmsModelPageConfig
extends Object
implements I_CmsConfigurationObject<CmsModelPageConfig>, Cloneable
This class contains the model page configuration for a sitemap region.
- Since:
- 8.0.0
- Version:
- $Revision: 1.0 $
- Author:
- Georg Westenberger
-
Field Summary
Fields inherited from interface org.opencms.ade.configuration.I_CmsConfigurationObject
DEFAULT_ORDER -
Constructor Summary
ConstructorsConstructorDescriptionCmsModelPageConfig(CmsResource res, boolean isDefault, boolean isDisabled) Creates a new model page configuration bean. -
Method Summary
Modifier and TypeMethodDescriptionclone()getKey()The name of the configuration object.Gets the model page resource.booleanReturns true if this is a default model page.booleanReturns true if this entry disables the model page.merge(CmsModelPageConfig child) Merges this configuration object with a child configuration object.
-
Constructor Details
-
CmsModelPageConfig
Creates a new model page configuration bean.- Parameters:
res- the model page resourceisDefault- true if this is a default model pageisDisabled- true if this is a disabled model page
-
-
Method Details
-
clone
-
getKey
Description copied from interface:I_CmsConfigurationObjectThe name of the configuration object.This name should be unique for each single configuration
- Specified by:
getKeyin interfaceI_CmsConfigurationObject<CmsModelPageConfig>- Returns:
- the name
- See Also:
-
getResource
Gets the model page resource.- Returns:
- the model page resource
-
isDefault
Returns true if this is a default model page.- Returns:
- true if this is a default model page
-
isDisabled
Returns true if this entry disables the model page.- Specified by:
isDisabledin interfaceI_CmsConfigurationObject<CmsModelPageConfig>- Returns:
- true if this entry disables the model page
-
merge
Description copied from interface:I_CmsConfigurationObjectMerges this configuration object with a child configuration object.- Specified by:
mergein interfaceI_CmsConfigurationObject<CmsModelPageConfig>- Parameters:
child- the child configuration object- Returns:
- the merged configuration objects
- See Also:
-