You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Eugeny N Dzhurinsky <bo...@redwerk.com> on 2006/04/20 09:53:01 UTC

moving node

Is it possible to move node, or, in another words, change parent of the node?
Currently I only found a way to copy nodes and all it's children and add them
to another node, then delete old nodes, but I think I can finish with copying
hundred of thousands of nodes with it's contents.

-- 
Eugene N Dzhurinsky

Re: moving node

Posted by Martin Perez <mp...@gmail.com>.
Sure.

See the javax.jcr.Session move method on the JCR API

Martin

On 4/20/06, Eugeny N Dzhurinsky <bo...@redwerk.com> wrote:
>
> Is it possible to move node, or, in another words, change parent of the
> node?
> Currently I only found a way to copy nodes and all it's children and add
> them
> to another node, then delete old nodes, but I think I can finish with
> copying
> hundred of thousands of nodes with it's contents.
>
> --
> Eugene N Dzhurinsky
>