docs: public void commitUrlNameMappings() throws CmsException {
  
          Set<CmsUUID> structureIds = Sets.newHashSet();
          for (InternalUrlNameMappingEntry entry : m_urlNameMappingEntries) {
              structureIds.add(entry.getStructureId());
          }
  
          boolean urlnameReplace = false;
          for (CmsUUID structureId : structureIds) {
              try {
                  CmsResource resource = m_cms.readResource(structureId, CmsResourceFilter.ALL);
                  CmsProperty prop = m_cms.readPropertyObject(
                      resource,
                      CmsPropertyDefinition.PROPERTY_URLNAME_REPLACE,
                      true);
                  if (!CmsStringUtil.isEmptyOrWhitespaceOnly(prop.getValue())) {
                      urlnameReplace = Boolean.parseBoolean(prop.getValue());
                  }
              } catch (CmsException e) {
                  LOG.error("Error while trying to read urlname.replace: " + e.getLocalizedMessage(), e);
              }
  
          }
  
          I_CmsFileNameGenerator nameGen = OpenCms.getResourceManager().getNameGenerator();
          for (InternalUrlNameMappingEntry entry : m_urlNameMappingEntries) {
              Iterator<String> nameSeq = nameGen.getUrlNameSequence(entry.getName());
              m_cms.writeUrlNameMapping(nameSeq, entry.getStructureId(), entry.getLocale().toString(), urlnameReplace);
          }
  
      }