docs: public static List<String> getAllDetailPagesWithUrlName(CmsObject cms, CmsResource res) throws CmsException {
  
          List<String> result = new ArrayList<String>();
          Collection<String> detailPages = OpenCms.getADEManager().getDetailPageFinder().getAllDetailPages(
              cms,
              res.getTypeId());
          if (detailPages.isEmpty()) {
              return Collections.<String> emptyList();
          }
          List<String> detailNames = cms.readUrlNamesForAllLocales(res.getStructureId());
          for (String urlName : detailNames) {
              for (String detailPage : detailPages) {
                  String rootPath = CmsStringUtil.joinPaths(detailPage, urlName, "/");
                  result.add(rootPath);
              }
          }
          return result;
      }