jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Getting Version History after the node is deleted
Date Wed, 11 Apr 2007 07:36:45 GMT

On 4/10/07, Sudhan <s.kanade@gmail.com> wrote:
> My scenario is that, I am already setting some custom property on all the
> jcr:content node during initialization. Now this property is useful when
> there are any new updates on the node aswell as when the node is removed
> from the repository.
> So when i get an event for NODE_REMOVED, I need to pull out the property set
> on jcr:content node of the deleted node. I had a notion that the version
> history still remains eventhough you remove the node from the repository.
> Now my problem is to get a handle to jcr:content node and do some processing
> after getting the property.

I'm not sure I follow you. Isn't the jcr:content node removed as well
when the containing node gets removed? Thus there is no way for you to
set any jcr:content properties after the removal.


Jukka Zitting

View raw message