You can use the CoreSession.move() method for that.
See 
http://doc.nuxeo.org/5.1/apidocs/org/nuxeo/ecm/core/api/CoreSession.html#move(org.nuxeo.ecm.core.api.DocumentRef,%20org.nuxeo.ecm.core.api.DocumentRef,%20java.lang.String)

Florent

On 10 Apr 2008, at 08:48, [EMAIL PROTECTED] wrote:
is there a way to change the name of a document after it has been saved?
DocumentModel only has a getName method, no setName.
Is there an api call available to change this name?
It's important of course that the path is updated correspondingly when the name is changed.

Is this possible?

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to