jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JOSE FELIX HERNANDEZ BARRIO <jose.hernan...@isthari.com>
Subject Re: query node by node identifier
Date Mon, 30 Aug 2010 17:36:24 GMT
Why not just use session.getNodeByIdentifier() ?
>

thank you i was looking for the function in workspace interface


>
> If you need to use query, I'm pretty sure you'll have to use jcr:uuid as
> the property name. This would only be useable with mix:referenceable nodes.
>
> Justin
>
> On 8/30/10 1:12 PM, JOSE FELIX HERNANDEZ BARRIO wrote:
> > hi,
> >
> > i'm trying to extract a node from the repository given de node identifier
> > (the one returned by node.getIdentifier)
> > i've tried:
> > //*[@jcr:identifier='abbe81d4-5d5b-457e-901f-7ffdb0cef7fa']
> >
> > with no results
> >
> > any tip?
> >
>
>


-- 
Jose Hernandez
675599600
Isthari
http://www.isthari.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message