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 11:37:47 GMT
if you do not have corresp node you have to clone it - no other way AFAIK.
in this case you can clone and remove children as suggested before :)

regards,

Gennady Azarenkov
eXo platform

----- Original Message ----- 
From: "Przemyslaw Pakulski" <ppakulski@o2.pl>
To: <jackrabbit-dev@incubator.apache.org>
Sent: Thursday, November 17, 2005 1:05 PM
Subject: Re: How to clone single node only ?


>> 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 ;) )
>
> yes, i need to copy properties, but how to create corresponding node (with 
> the same uuid) in target workspace ?
>
> Regards
> Przemo
> 


Mime
View raw message