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 Thu, 22 Nov 2007 20:21:19 GMT

Which is faster Jukka?
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#a13902817
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message