docs: protected void importRelations() {
  
          if (m_importedRelations.isEmpty()) {
              return;
          }
  
          m_report.println(Messages.get().container(Messages.RPT_START_IMPORT_RELATIONS_0), I_CmsReport.FORMAT_HEADLINE);
  
          int i = 0;
          Iterator<Entry<String, List<CmsRelation>>> it = m_importedRelations.entrySet().iterator();
          while (it.hasNext()) {
              Entry<String, List<CmsRelation>> entry = it.next();
              String resourcePath = entry.getKey();
              List<CmsRelation> relations = entry.getValue();
  
              m_report.print(
                  org.opencms.report.Messages.get().container(
                      org.opencms.report.Messages.RPT_SUCCESSION_2,
                      String.valueOf(i + 1),
                      String.valueOf(m_importedRelations.size())),
                  I_CmsReport.FORMAT_NOTE);
  
              m_report.print(
                  Messages.get().container(
                      Messages.RPT_IMPORTING_RELATIONS_FOR_2,
                      resourcePath,
                      new Integer(relations.size())),
                  I_CmsReport.FORMAT_NOTE);
              m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0));
  
              boolean withErrors = false;
              Iterator<CmsRelation> itRelations = relations.iterator();
              while (itRelations.hasNext()) {
                  CmsRelation relation = itRelations.next();
                  try {
                      // Add the relation to the resource
                      m_cms.importRelation(
                          m_cms.getSitePath(relation.getSource(m_cms, CmsResourceFilter.ALL)),
                          m_cms.getSitePath(relation.getTarget(m_cms, CmsResourceFilter.ALL)),
                          relation.getType().getName());
                  } catch (CmsException e) {
                      m_report.addWarning(e);
                      withErrors = true;
                      if (LOG.isWarnEnabled()) {
                          LOG.warn(e.getLocalizedMessage());
                      }
                      if (LOG.isDebugEnabled()) {
                          LOG.debug(e.getLocalizedMessage(), e);
                      }
                  }
              }
              if (!withErrors) {
                  m_report.println(
                      org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_OK_0),
                      I_CmsReport.FORMAT_OK);
              } else {
                  m_report.println(
                      org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_FAILED_0),
                      I_CmsReport.FORMAT_ERROR);
              }
              i++;
          }
  
          m_report.println(Messages.get().container(Messages.RPT_END_IMPORT_RELATIONS_0), I_CmsReport.FORMAT_HEADLINE);
      }