code: public List<CmsRewriteAlias> getRewriteAliases(CmsObject cms, String siteRoot) throws CmsException {
  
          CmsRewriteAliasFilter filter = new CmsRewriteAliasFilter().setSiteRoot(siteRoot);
          List<CmsRewriteAlias> result = m_securityManager.getRewriteAliases(cms.getRequestContext(), filter);
          return result;
      }
docs: Reads the rewrite aliases for a given site root.<p>
  
  @param cms the current CMS context
  @param siteRoot the site root for which the rewrite aliases should be retrieved
  @return the list of rewrite aliases for the given site root
  
  @throws CmsException if something goes wrong