docs: private void setFolderTitle(CmsResource res) {
  
          try {
              CmsProperty titleProperty = m_cms.readPropertyObject(res, CmsPropertyDefinition.PROPERTY_TITLE, false);
              if (!titleProperty.isNullProperty()) {
                  titleProperty.setValue(m_site.getTitle(), CmsProperty.TYPE_INDIVIDUAL);
                  m_cms.writePropertyObject(res.getRootPath(), titleProperty);
              } else {
                  LOG.error("Editing title property of site root resource was not possible");
                  getReport().println(
                      Messages.get().container(Messages.RPT_SITE_ERROR_TITLE_0),
                      I_CmsReport.FORMAT_ERROR);
              }
          } catch (CmsException e) {
              LOG.error("Editing title property of site root resource was not possible", e);
              getReport().println(Messages.get().container(Messages.RPT_SITE_ERROR_TITLE_0), I_CmsReport.FORMAT_ERROR);
              getReport().println(e);
          }
  
      }