docs: public void saveRewriteAliases(CmsRequestContext requestContext, String siteRoot, List<CmsRewriteAlias> newAliases)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(requestContext);
          try {
              //            checkOfflineProject(dbc);
              //            checkPermissions(dbc, resource, CmsPermissionSet.ACCESS_WRITE, true, CmsResourceFilter.ALL);
              m_driverManager.saveRewriteAliases(dbc, siteRoot, newAliases);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_DB_OPERATION_0), e);
          } finally {
              dbc.clear();
          }
      }