jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Can I see all the locked documents or lock tokens?
Date Thu, 30 Nov 2006 10:47:41 GMT
Paco Avila wrote:
> How can I see all the locked documents or lock tokens? This should be
> useful for my application administrator. I know that the lock tokens are
> stored in the "workspace/default/lock" file, but perhaps is ugly read
> directly this file.

you can search for all locked documents:

//element(*, mix:lockable)[@jcr:lockOwner]

but you cannot retrieve the lock tokens. a lock token is only visible to the 
lock owning session.

regards
  marcel

Mime
View raw message