docs: public String substituteLink(
          CmsObject cms,
          String link,
          String siteRoot,
          String targetDetailPage,
          boolean forceSecure) {
  
          if (targetDetailPage != null) {
              return m_linkSubstitutionHandler.getLink(cms, link, siteRoot, targetDetailPage, forceSecure);
          } else {
              return m_linkSubstitutionHandler.getLink(cms, link, siteRoot, forceSecure);
          }
  
      }