code: public Map<String, String> computeFolderTypes() throws CmsException {
  
          Map<String, String> folderTypes = Maps.newHashMap();
          // do this first, since folder types from modules should be overwritten by folder types from sitemaps
          if (m_moduleConfiguration != null) {
              folderTypes.putAll(wrap(m_moduleConfiguration).getFolderTypes());
          }
  
          List<CmsADEConfigDataInternal> configDataObjects = new ArrayList<CmsADEConfigDataInternal>(
              m_siteConfigurationsByPath.values());
          for (CmsADEConfigDataInternal configData : configDataObjects) {
              folderTypes.putAll(wrap(configData).getFolderTypes());
          }
          return folderTypes;
      }
docs: Computes the map from folder paths to content types for this ADE configuration state.<p>
  
  @return the map of content types by folder root paths
  
  @throws CmsException if something goes wrong