Class CmsContainerConfiguration


  • public class CmsContainerConfiguration
    extends java.lang.Object
    A bean representing a single configuration entry for the inherited container configuration.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String N_CONFIGURATION
      Node name.
      static java.lang.String N_ELEMENT
      Node name.
      static java.lang.String N_HIDDEN
      Node name.
      static java.lang.String N_KEY
      Node name.
      static java.lang.String N_NAME
      Node name.
      static java.lang.String N_NEWELEMENT
      Node name.
      static java.lang.String N_ORDERKEY
      Node name.
      static java.lang.String N_URI
      Node name.
      static java.lang.String N_VISIBLE
      Node name.
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsContainerConfiguration​(java.util.List<java.lang.String> ordering, java.util.Map<java.lang.String,​java.lang.Boolean> visibility, java.util.Map<java.lang.String,​CmsContainerElementBean> newElements)
      Creates a new instance.
    • Constructor Detail

      • CmsContainerConfiguration

        public CmsContainerConfiguration​(java.util.List<java.lang.String> ordering,
                                         java.util.Map<java.lang.String,​java.lang.Boolean> visibility,
                                         java.util.Map<java.lang.String,​CmsContainerElementBean> newElements)
        Creates a new instance.

        Parameters:
        ordering - the new ordering list
        visibility - the visibility map
        newElements - the new elements
    • Method Detail

      • getNewElementsInOrder

        public java.util.LinkedHashMap<java.lang.String,​CmsContainerElementBeangetNewElementsInOrder()
        Gets the new elements in the order in which they appear in the 'ordering' list.

        Returns:
        an ordered map containing the new elements in the correct order
      • getOrdering

        public java.util.List<java.lang.String> getOrdering()
        Gets the ordering list.

        Returns:
        the ordering list
      • getPath

        public java.lang.String getPath()
        Gets the path from which this configuration was read.

        Returns:
        the path from which this configuration was read
      • getVisibility

        public java.util.Map<java.lang.String,​java.lang.Boolean> getVisibility()
        Gets the visibility map for this configuration.

        Returns:
        the visibility map
      • setPath

        public void setPath​(java.lang.String path)
        Sets the path for this configuration.

        Parameters:
        path - the new path value