code: public CmsContainerPageBean getContainerPage(CmsObject cms) {
  
          Locale masterLocale = CmsLocaleManager.MASTER_LOCALE;
          Locale localeToLoad = null;
          // always use master locale if possible, otherwise use the first locale.
          // this is important for 'legacy' container pages which were created before container pages became locale independent
          if (m_cntPages.containsKey(masterLocale)) {
              localeToLoad = masterLocale;
          } else if (!m_cntPages.isEmpty()) {
              localeToLoad = m_cntPages.keySet().iterator().next();
          }
          if (localeToLoad == null) {
              return null;
          } else {
              CmsContainerPageBean result = m_cntPages.get(localeToLoad);
              return result;
          }
      }
docs: Gets the container page content as a bean.<p>
  
  @param cms the current CMS context
  @return the bean containing the container page data