public class CmsModelPageConfig extends java.lang.Object implements I_CmsConfigurationObject<CmsModelPageConfig>, java.lang.Cloneable
DEFAULT_ORDER
Constructor and Description |
---|
CmsModelPageConfig(CmsResource res,
boolean isDefault,
boolean isDisabled)
Creates a new model page configuration bean.
|
Modifier and Type | Method and Description |
---|---|
CmsModelPageConfig |
clone() |
java.lang.String |
getKey()
The name of the configuration object.
|
CmsResource |
getResource()
Gets the model page resource.
|
boolean |
isDefault()
Returns true if this is a default model page.
|
boolean |
isDisabled()
Returns true if this entry disables the model page.
|
CmsModelPageConfig |
merge(CmsModelPageConfig child)
Merges this configuration object with a child configuration object.
|
public CmsModelPageConfig(CmsResource res, boolean isDefault, boolean isDisabled)
res
- the model page resourceisDefault
- true if this is a default model pageisDisabled
- true if this is a disabled model pagepublic CmsModelPageConfig clone()
clone
in class java.lang.Object
Object.clone()
public java.lang.String getKey()
I_CmsConfigurationObject
This name should be unique for each single configuration
getKey
in interface I_CmsConfigurationObject<CmsModelPageConfig>
I_CmsConfigurationObject.getKey()
public CmsResource getResource()
public boolean isDefault()
public boolean isDisabled()
isDisabled
in interface I_CmsConfigurationObject<CmsModelPageConfig>
public CmsModelPageConfig merge(CmsModelPageConfig child)
I_CmsConfigurationObject
merge
in interface I_CmsConfigurationObject<CmsModelPageConfig>
child
- the child configuration objectI_CmsConfigurationObject.merge(org.opencms.ade.configuration.I_CmsConfigurationObject)