jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Raman" <sridhar.ra...@gmail.com>
Subject Re: Changing the name of a node?
Date Fri, 16 Feb 2007 09:49:03 GMT
Thanks. It works. :)

On 2/16/07, Philipp Koch <philipp.koch@gmail.com> wrote:
>
> hi sridhar,
> use Session.move(java.lang.String srcAbsPath, java.lang.StringdestAbsPath) .
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message