jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miro Walker" <miro.wal...@cognifide.com>
Subject RE: Support for hidden nodes
Date Sat, 04 Feb 2006 10:22:04 GMT

Our application does the same thing (in fact it needs to support both
"soft deleted" nodes and "hidden" nodes [and actually has two different
kinds of "hidden", too - don't ask :-)!]). Although we're not using
webdav as an interface, it's something I've thought about for the

My idea is that rather than try to build support for such
application-specific logic into jackrabbit / JCR, which I would
definitely oppose, how about building a hook either into jackrabbit
itself or into the webdav code that allows a custom filter to be applied
when getting child nodes or properties. This could allow support for
different kinds of similar behaviour without breaking the main benefit
of jackrabbit IMO, which is that it doesn't try to do too much, and so
does what it does well.


-----Original Message-----
From: Martin Perez [mailto:mpermar@gmail.com] 
Sent: 04 February 2006 10:08
To: jackrabbit-dev@incubator.apache.org
Subject: Support for hidden nodes


Please, forgive me if this topic was discussed before. I searched on the
mailing list but I did not find any references.

Currently, in our product, we were discussing about the implementation
logical deletes. We are interesting in offering support for logical
operations for documents. This could be very necessary in some scenarios
to legal issues. For example, in Europe some document types (for example
invoices) cannot be deleted and must be maintained on their storage for
several years. So, when an user deletes this documents the system should
able to keep a copy. Well, this is only the background.

We have implemented this in a very simple way: adding an active property
all trackable nodes. Pretty easy. But now we have a problem. Our system,
successfully hides "deleted" documents to the users, but when an user
try to use the WebDAV browser (we are using the contrib module) he will
the "deleted" documents, because for Jackrabbit they are normal nodes.

So, my question is, does it have any sense to allow to tag nodes as
on a Jackrabbit repository?

I know that is something that is not reflected on the spec. Anyways, do
think is an interesting feature for futurible releases? Also, what about
supporting logical delete operations?


View raw message