Hi guys

I want to programmatically copy nodes. Now there is a method which allows me to 
copy a node recursively to another destination: javax.jcr.Workspace#copy

But what if I only want to copy a page without its subpages? I think copying 
the whole subtree and then deleting the unneeded subpages is way too expensive 
in execution.

The other approach would be to iterate over all of the pages metadata, 
properties, areas etc. and create a new node with the same data at the wanted 
destination.

Has anyone of you ever done that before? Are there even some Magnolia Utils 
which allow me to do that?

Cheers, Chris

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=28d2f745-1c08-4931-93b6-c24a4ea0f088


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to