jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject Re: How to clone single node only ?
Date Thu, 17 Nov 2005 10:46:42 GMT
looks like you need to copy the corresponding node's property only right?
why do not just get corresponding node from source workspace
(using getCorrespondingPath()), remove all properties
from target and replace them with source node's properties if so
(and maybe to do the same with mixin types ;) )

regards,

Gennady Azarenkov
eXo platform

----- Original Message ----- 
From: "Przemyslaw Pakulski" <przemo.pakulski@cognifide.com>
To: <jackrabbit-dev@incubator.apache.org>
Sent: Thursday, November 17, 2005 12:02 AM
Subject: How to clone single node only ?


> Hi,
> 
> It is possible to clone node without all subtree ?
> Maybe I missed something, but I can't find any method to do that using 
> JCR API.
> 
> Any ideas how to solve this issue ?
> I wonder if exportDocumentView, importXML methods is a good workaround 
> to clone single node into other workspace ?
> 
> Regards
> Przemo
>

Mime
View raw message