title: Rename document in nuxeo
body: <p>I've a document (folderish) in nuxeo I want to rename. I get the <code>DocumentModel</code> by uid using the API, and I'm trying to chenge the actual nuxeo name so that his path changes (not just like renaming a blob attachment name, the whole folderish should change name)</p>
  
  <p>I tried changing the properties:</p>
  
  <pre><code>DocumentModel cf = this.getCampaignFolder();
  cf.setProperty("dublincore", "title", newShortName);
  </code></pre>
  
  <p>This does seems to change the title, but leaves the nuxeo name unchanged.</p>
  
  <p>I tried changing the path:</p>
  
  <pre><code>cf.setPathInfo(cf.getPathAsString().replaceAll("/[^/]*$", "), newShortName);
  </code></pre>
  
  <p>but when I save that it says the document doesn't exist.</p>
  
  <p>Can't find a rename or move API either.</p>
  
  <p>How do you rename stuff?</p>
  
  <p>Currently, as a workaround, I am deleting the folder and recreating it.</p>