Is there any direct way to obtain all the locks of a session? I know that there is a String[] getLockTokens method, but it seems that a token can't be used to locate a locked node.
If the answer is no. I suppose that I should look for the nodes with a jcr:lockOwner property. Is this correct? Thanks! Martin
