code: private List<CmsListInfoBean> collectSitemapTypeInfos(CmsObject cms, CmsADEConfigData configData) {
  
          List<CmsListInfoBean> subsitemapFolderTypeInfos = new ArrayList<CmsListInfoBean>();
          List<Integer> sitemapTypeIds = CmsResourceTypeFolderSubSitemap.getSubSitemapResourceTypeIds();
          String checkPath = configData.getBasePath();
          if (checkPath != null) {
              checkPath = cms.getRequestContext().removeSiteRoot(checkPath);
          } else {
              checkPath = "/";
          }
          CmsResource checkResource = null;
          try {
              checkResource = cms.readResource(checkPath);
          } catch (CmsException e) {
              LOG.warn(e.getLocalizedMessage(), e);
          }
  
          for (Integer typeId : sitemapTypeIds) {
              try {
                  I_CmsResourceType sitemapType = OpenCms.getResourceManager().getResourceType(typeId.intValue());
                  String typeName = sitemapType.getTypeName();
                  CmsExplorerTypeSettings explorerType = OpenCms.getWorkplaceManager().getExplorerTypeSetting(typeName);
  
                  // if explorer type and check resource available, perform a permission check
                  if ((explorerType != null) && (checkResource != null)) {
                      try {
                          CmsExplorerTypeAccess access = explorerType.getAccess();
                          if (!access.getPermissions(cms, checkResource).requiresControlPermission()) {
                              continue;
                          }
                      } catch (Exception e) {
                          LOG.error(e.getLocalizedMessage(), e);
                      }
                  }
                  CmsListInfoBean infoBean = buildSitemapTypeInfo(sitemapType);
                  subsitemapFolderTypeInfos.add(infoBean);
  
              } catch (CmsLoaderException e) {
                  LOG.warn("Could not read sitemap folder type " + typeId + ": " + e.getLocalizedMessage(), e);
              }
          }
          return subsitemapFolderTypeInfos;
      }
docs: Gets the information for the available sitemap folder types.<p>
  
  @param cms the current CMS context
  @param configData the configuration data for the current subsitemap
  @return the list info beans corresponding to available sitemap folder types