code: public String getFolderPath(CmsObject cms, String pageFolderRootPath) {
  
          checkInitialized();
          if (m_folderOrName != null) {
              return m_folderOrName.getFolderPath(cms, pageFolderRootPath);
          } else {
              String siteRoot = null;
              if (pageFolderRootPath != null) {
                  siteRoot = OpenCms.getSiteManager().getSiteRoot(pageFolderRootPath);
              }
              if (siteRoot == null) {
                  siteRoot = cms.getRequestContext().getSiteRoot();
              }
              return CmsStringUtil.joinPaths(siteRoot, CmsADEManager.CONTENT_FOLDER_NAME, m_typeName);
          }
      }
docs: Computes the folder path for this resource type.<p>
  
  @param cms the cms context to use
  @param pageFolderRootPath root path of the folder containing the current container page
  
  @return the folder root path for this resource type