jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject Re: Checking if node exists
Date Fri, 23 Nov 2007 10:45:53 GMT

Tks Jukka;
By the way, is there a way to get the path of a node by your uuid, without
have to get the node and get the path? I have a use case where there is a
uuid and I need to charge the path, but I prefer just to get the path and
not load the node and get the path.
Tks in advanced.
Helio.

Jukka Zitting wrote:
> 
> Hi,
> 
> On Nov 22, 2007 9:37 PM, hsp_ <piccinatto@ibest.com.br> wrote:
>> Is there a best way to check if exists a node in repository (by the path
>> and/or by the uuid).
> 
> Use session.itemExists("/absolute/path") or node.hasNode("relative/path").
> 
> BR,
> 
> Jukka Zitting
> 
> 

-- 
View this message in context: http://www.nabble.com/Checking-if-node-exists-tf4858118.html#a13910059
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message