code: public String getPathForStructureId(CmsUUID structureId) throws CmsException {
  
          String rootPath = m_pathCache.get(structureId);
          if (rootPath != null) {
              return rootPath;
          }
          CmsResource res = m_cms.readResource(structureId);
          m_pathCache.put(structureId, res.getRootPath());
          return res.getRootPath();
      }
docs: Looks up the root path for a given structure id.<p>
  
  This is used for correcting the paths of cached resource objects.<p>
  
  @param structureId the structure id
  @return the root path for the structure id
  
  @throws CmsException if the resource with the given id was not found or another error occurred