jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Wiesinger <e0727...@student.tuwien.ac.at>
Subject Setting properties and childnodes of versionable nodes
Date Fri, 04 Sep 2009 14:07:58 GMT

I would like to know if it's possible to use jcr/jackrabbit to do the  

I want to have a versionable node N
having both, versionable properties and childnodes
as well as some otther properties and childnodes I want to exclude  
from versioning of N,
i.e. changing some excluded-from-versioning properties and childnodes  
of N does not lead
to creation of a new version of N. This is not possible since checked- 
in status of N leads
to read-only of N and all it's descendants.

Unfortunately, with my understanding of the JCR concepts, I do not  
know how to implement
such a behaviour, I guess it's not intended.

The only solution I could think of at the moment is to create  
something like a
non-versionable 'container-node' C that contains a versionable subnode  
for all
versionable data and add some unversioned nodes and properties.
Is this the way to go?

It would be very interesting if there would be another solution for  
that case.

Thank you very much for your thoughts.

View raw message