nope. it is missing. you must use Session.move()
something like this (not tested):
void rename(Item item, String newName) {
item.getSession().move(item.getPath(), item.getParent().getPath() +
"/" + newName);
}
On 4/14/05, Brian Moseley <[EMAIL PROTECTED]> wrote:
> am i missing something in the jcr api, or is there no method for
> renaming an existing node?
>
--
------------------------------------------< [EMAIL PROTECTED] >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---