jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: How to retrieve the node id in AccessManager of a removed node
Date Mon, 16 Aug 2010 16:36:50 GMT
On Mon, Aug 16, 2010 at 17:24,  <Sascha.Theves@innovations.de> wrote:
> we are implementing our own AccessManager that reflects our permission
> constraints. These contraints depending all on the node id of the JCR
> nodes. That works fine until we delete nodes and want to recover the
> node id of the deleted node. When a node was deleted with node.remove()
> and after that the session was saved with session.save() we are unable
> to access the node id (uuid) anymore.

If the remove is persisted, why do you need to access the node id
then? Your access manager should be able to cope with non-existing
nodes then...


Alexander Klimetschek

View raw message