jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: move or copy a node between different workspaces
Date Fri, 24 Aug 2007 08:21:37 GMT
On 8/23/07, bilobag <bilobag@hotmail.com> wrote:
>
> Is there a way to copy or move a node from one workspace to another
> workspace?  Or is the only way to add a new node to the workspace and copy
> all the properties manually?

javax.jcr.Workspace#clone is what you're looking for:
http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Workspace.html#clone(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)

cheers
stefan

> --
> View this message in context: http://www.nabble.com/move-or-copy-a-node-between-different-workspaces-tf4319997.html#a12301890
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message