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: Computed properties
Date Mon, 16 Mar 2009 15:43:00 GMT
Hi,

On Mon, Mar 9, 2009 at 5:42 PM, Marian Schedenig (qs)
<Marian.Schedenig@qualysoft.com> wrote:
> I'm trying to implement dependencies between resources ("files") in my JCR,
> more or less resembling a directed graph. Each file can have a number of
> dependency subnodes which contain the path of a resource the property owner
> depends on. This resource does not have to exist at the time the dependency
> is set, but if it does, a reverseDependency subnode should automatically be
> created on it pointing back to the resource containing the dependency node.

Do you actually need to have these "reverseDependency" nodes? A query
for "all nodes with a dependency to this node" might give you the same
functionality.

BR,

Jukka Zitting

Mime
View raw message