jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Koch" <philipp.k...@gmail.com>
Subject Re: Changing the name of a node?
Date Fri, 16 Feb 2007 06:38:08 GMT
hi sridhar,
use Session.move(java.lang.String srcAbsPath, java.lang.String destAbsPath) .

regards,
philipp

On 2/16/07, Sridhar Raman <sridhar.raman@gmail.com> wrote:
> I have a structure where the jcr node names are entity names. So, if an
> entity is titled ABC, the node structure would be:
> /content/entities/ABC
> (these entity nodes have properties, etc.)
>
> Now, my problem is in changing the node name. How do I do it?
> Node class has a method to get the name (getName()), but not to set the
> name. Is it possible to set the node name by changing the value of a special
> jcr property?
>
> Thanks in advance,
> Sridhar
>

Mime
View raw message