docs: public void importGroup() {
  
          if (m_orgUnit == null) {
              return;
          }
          if (m_groupDescription == null) {
              m_groupDescription = "";
          }
          if (m_groupParents == null) {
              m_groupParents = new HashMap<String, List<String>>();
          }
  
          String groupName = m_orgUnit.getName() + m_groupName;
          try {
              if (m_throwable != null) {
                  getReport().println(m_throwable);
  
                  CmsMessageContainer message = Messages.get().container(
                      Messages.ERR_IMPORTEXPORT_ERROR_IMPORTING_GROUP_1,
                      groupName);
                  if (LOG.isDebugEnabled()) {
                      LOG.debug(message.key(), m_throwable);
                  }
                  m_throwable = null;
                  return;
              }
  
              getReport().print(Messages.get().container(Messages.RPT_IMPORT_GROUP_0), I_CmsReport.FORMAT_NOTE);
              getReport().print(
                  org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, groupName));
              getReport().print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0));
  
              try {
                  getCms().readGroup(groupName);
                  // the group already exists and will not be created
                  getReport().println(Messages.get().container(Messages.RPT_NOT_CREATED_0), I_CmsReport.FORMAT_OK);
              } catch (CmsDbEntryNotFoundException e) {
                  // ok, let's create it
                  // first check the parent group
                  CmsUUID parentGroupId = null;
                  if (CmsStringUtil.isNotEmpty(m_groupParent)) {
                      try {
                          // parent group exists
                          parentGroupId = getCms().readGroup(m_groupParent).getId();
                      } catch (CmsDbEntryNotFoundException exc) {
                          // parent group does not exist, remember to set the parent group later
                          List<String> childs = m_groupParents.get(m_groupParent);
                          if (childs == null) {
                              childs = new ArrayList<String>();
                              m_groupParents.put(m_groupParent, childs);
                          }
                          childs.add(groupName);
                      }
                  }
  
                  getCms().createGroup(
                      groupName,
                      m_groupDescription,
                      m_groupFlags,
                      parentGroupId == null ? null : m_groupParent);
                  getReport().println(
                      org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_OK_0),
                      I_CmsReport.FORMAT_OK);
  
                  // set parents that could not be set before
                  List<String> childs = m_groupParents.remove(groupName);
                  if (childs != null) {
                      Iterator<String> it = childs.iterator();
                      while (it.hasNext()) {
                          String childGroup = it.next();
                          getCms().setParentGroup(childGroup, groupName);
                      }
                  }
              }
          } catch (Exception e) {
              getReport().println(e);
  
              CmsMessageContainer message = Messages.get().container(
                  Messages.ERR_IMPORTEXPORT_ERROR_IMPORTING_GROUP_1,
                  groupName);
              if (LOG.isDebugEnabled()) {
                  LOG.debug(message.key(), e);
              }
          } finally {
              m_groupDescription = null;
              m_groupFlags = 0;
              m_groupName = null;
              m_groupParent = null;
              m_throwable = null;
          }
      }