jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Anescu" <mane...@totalsoft.ro>
Subject Can you copy/clone/duplicate a node structure in JR?
Date Tue, 10 Jul 2007 14:03:56 GMT

I need some help.

I have a node; I get it by the path. Now I want to copy/clone/duplicate
that node and all that are children of the node to another location
(path). Something like this:

String nodePath = "account/account-1/hub-1"
Node node = getNode( nodePath );

String newNodePath = "account/account-1/hub-2"

//this is what I would need:
copuyNode( node, newNodePath );

View raw message