code: private CmsPathMap<CmsResource> getPathMapForType(String typeName) throws CmsException {
  
          if (!m_pathMapsByType.containsKey(typeName)) {
              CmsPathMap<CmsResource> pathMap = readPathMapForType(
                  OpenCms.getResourceManager().getResourceType(typeName));
              m_pathMapsByType.put(typeName, pathMap);
          }
          return m_pathMapsByType.get(typeName);
      }
docs: Gets the path map containing the contents for the given type.<p>
  
  @param typeName the type name
  @return the path map with the content resources
  
  @throws CmsException if something goes wrong