You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Nicolas <nt...@gmail.com> on 2006/08/13 20:47:16 UTC

How to get a node from its UUID

Hi,

I am trying to get a node knowing only its UUID. Do you know how I can do
this please?

BR
Nico
my blog! http://www.deviant-abstraction.net !!

Re: How to get a node from its UUID

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 8/13/06, Nicolas <nt...@gmail.com> wrote:
> I am trying to get a node knowing only its UUID. Do you know how I can do
> this please?

Use Session.getNodeByUUID(String) if the node is mix:referenceable and
you want to stick with the standard JCR API, or
SessionImpl.getNodeById(NodeId) for any Jackrabbit node.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development