code: public String writeUrlNameMapping(
          Iterator<String> nameSeq,
          CmsUUID structureId,
          String locale,
          boolean replaceOnPublish)
      throws CmsException {
  
          return m_securityManager.writeUrlNameMapping(m_context, nameSeq, structureId, locale, replaceOnPublish);
      }
docs: Writes a new URL name mapping for a given resource.<p>
  
  The first name from the given name sequence which is not already mapped to another resource will be used
  for the URL name mapping.<p>
  
  @param nameSeq an iterator for generating names for the mapping
  @param structureId the structure id to which the name should be mapped
  @param locale the locale of the mapping
  @param replaceOnPublish if the mapping should replace previous mappings when published
  
  @return the name which was actually mapped to the structure id
  
  @throws CmsException if something goes wrong