Class CmsContainerConfigurationGroup
java.lang.Object
org.opencms.ade.containerpage.inherited.CmsContainerConfigurationGroup
A class which represents all the configuration entries which have been read from an inherited container
configuration file.
-
Constructor Summary
ConstructorDescriptionCmsContainerConfigurationGroup
(Map<Locale, Map<String, CmsContainerConfiguration>> configurations) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration
(String name) Gets the configuration for a given name and locale.Gets the root path of the file from which this configuration was read.Gets the structure id of the file from which this configuration was read.void
setResource
(CmsResource configResource) Initializes the information about the resource from which this configuration was read.
-
Constructor Details
-
CmsContainerConfigurationGroup
public CmsContainerConfigurationGroup(Map<Locale, Map<String, CmsContainerConfiguration>> configurations) Creates a new instance.- Parameters:
configurations
- the data contained by this configuration group
-
-
Method Details
-
getConfiguration
Gets the configuration for a given name and locale.- Parameters:
name
- the configuration name- Returns:
- the configuration for the name and locale
-
getRootPath
Gets the root path of the file from which this configuration was read.- Returns:
- the root path of the configuration resource
-
getStructureId
Gets the structure id of the file from which this configuration was read.- Returns:
- the structure id of the configuration file
-
setResource
Initializes the information about the resource from which this configuration was read.- Parameters:
configResource
- the configuration file
-