org.opencms.ade.containerpage.inherited
Class CmsContainerConfigurationGroup

java.lang.Object
  extended by org.opencms.ade.containerpage.inherited.CmsContainerConfigurationGroup

public class CmsContainerConfigurationGroup
extends java.lang.Object

A class which represents all the configuration entries which have been read from an inherited container configuration file.


Constructor Summary
CmsContainerConfigurationGroup(java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> configurations)
          Creates a new instance.
 
Method Summary
 CmsContainerConfiguration getConfiguration(java.lang.String name, java.util.Locale locale)
          Gets the configuration for a given name and locale.
 java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> getMap()
          Gets the raw map containing the configurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsContainerConfigurationGroup

public CmsContainerConfigurationGroup(java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> configurations)
Creates a new instance.

Parameters:
configurations - the data contained by this configuration group
Method Detail

getConfiguration

public CmsContainerConfiguration getConfiguration(java.lang.String name,
                                                  java.util.Locale locale)
Gets the configuration for a given name and locale.

Parameters:
name - the configuration name
locale - the configuration locale
Returns:
the configuration for the name and locale

getMap

public java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> getMap()
Gets the raw map containing the configurations.

Returns:
the map containing the configurations