code: public String writeUrlNameMapping(String name, CmsUUID structureId, String locale, boolean replaceOnPublish)
      throws CmsException {
  
          return writeUrlNameMapping(new CmsNumberSuffixNameSequence(name), structureId, locale, replaceOnPublish);
      }
docs: Writes a new URL name mapping for a given resource.<p>
  
  This method uses {@link CmsNumberSuffixNameSequence} to generate a sequence of name candidates
  from the given base name.<p>
  
  @param name the base name for the mapping
  @param structureId the structure id to which the name should be mapped
  @param locale the locale of the mapping
  @param replaceOnPublish mappings for which this is set will replace older mappings on publish
  
  @return the URL name that was actually used for the mapping
  
  @throws CmsException if something goes wrong