jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject howto obtain all the lock tokens?
Date Thu, 30 Nov 2006 08:45:40 GMT
For admin purpouse, should be nice get a list of all locked documents in
the repository (or get the lock tokens). I've looking across the source
and this is the var I need (I think):

 * Path map containing all locks at the leaves.
 private final PathMap lockMap = new PathMap();

This "lockMap" should be expossed throght a public method to be
available for me. 

The other option is to read the "workspace/xxx/locks" file, but seems to
be a bit ugly.
Paco Avila <pavila@git.es>

View raw message