|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.configuration.CmsADEConfigData
org.opencms.ade.configuration.CmsTestConfigData
public class CmsTestConfigData
A configuration data class whose parent can be set directly for test purposes.
| Field Summary | |
|---|---|
CmsADEConfigData |
m_parent
The parent configuration object. |
| Fields inherited from class org.opencms.ade.configuration.CmsADEConfigData |
|---|
CONTENT_FOLDER_NAME, m_createContentsLocally, m_discardInheritedModelPages, m_discardInheritedProperties, m_discardInheritedTypes |
| Constructor Summary | |
|---|---|
CmsTestConfigData(String basePath,
List<CmsResourceTypeConfig> resourceTypeConfig,
List<CmsPropertyConfig> propertyConfig,
List<CmsDetailPageInfo> detailPageInfos,
List<CmsModelPageConfig> modelPages)
Creates a new configuration data object. |
|
| Method Summary | |
|---|---|
CmsADEConfigData |
parent()
Fetches the parent configuration of this configuration. |
void |
setCreateContentsLocally(boolean createContentsLocally)
Sets the "create contents locally" flag. |
void |
setDiscardInheritedModelPages(boolean discardInheritedModelPages)
Sets the "discard inherited model pages" flag. |
void |
setDiscardInheritedProperties(boolean discardInheritedProperties)
Sets the "discard inherited properties" flag. |
void |
setIsDiscardInheritedTypes(boolean discardInheritedTypes)
Sets the "discard inherited types" flag. |
void |
setParent(CmsADEConfigData parent)
Sets the parent configuration object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public CmsADEConfigData m_parent
| Constructor Detail |
|---|
public CmsTestConfigData(String basePath,
List<CmsResourceTypeConfig> resourceTypeConfig,
List<CmsPropertyConfig> propertyConfig,
List<CmsDetailPageInfo> detailPageInfos,
List<CmsModelPageConfig> modelPages)
basePath - the base pathresourceTypeConfig - the resource type configurationpropertyConfig - the property configurationdetailPageInfos - the detail page configurationmodelPages - the model page configuration| Method Detail |
|---|
public CmsADEConfigData parent()
CmsADEConfigDataIf this configuration is a sitemap configuration with no direct parent configuration, the module configuration will be returned. If this configuration already is a module configuration, null will be returned.
parent in class CmsADEConfigDataCmsADEConfigData.parent()public void setCreateContentsLocally(boolean createContentsLocally)
createContentsLocally - the flag to control whether contents from inherited resource types are stored in the local .content folderpublic void setDiscardInheritedModelPages(boolean discardInheritedModelPages)
discardInheritedModelPages - the flag to control whether inherited model pages are discardedpublic void setDiscardInheritedProperties(boolean discardInheritedProperties)
discardInheritedProperties - the flag to control whether inherited properties are discardedpublic void setIsDiscardInheritedTypes(boolean discardInheritedTypes)
discardInheritedTypes - the flag to control whether inherited types are discardedpublic void setParent(CmsADEConfigData parent)
parent - the parent configuration object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||