You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by JavaJ <po...@yahoo.com> on 2006/08/08 01:42:16 UTC

Renaming a node

How do you rename a node?  The javax.jcr.Node interface doesn't allow setting
the name property.  Do you have to perform a session.move() to rename it?
-- 
View this message in context: http://www.nabble.com/Renaming-a-node-tf2069688.html#a5698005
Sent from the Jackrabbit - Users forum at Nabble.com.


Re: Renaming a node

Posted by Martin Perez <mp...@gmail.com>.
A move method call would do the trick.

Martin

On 8/8/06, JavaJ <po...@yahoo.com> wrote:
>
>
> How do you rename a node?  The javax.jcr.Node interface doesn't allow
> setting
> the name property.  Do you have to perform a session.move() to rename it?
> --
> View this message in context:
> http://www.nabble.com/Renaming-a-node-tf2069688.html#a5698005
> Sent from the Jackrabbit - Users forum at Nabble.com.
>
>