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); }
ahh... that works for me. thanks.
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); }