jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Harris" <michael.e.har...@gmail.com>
Subject Re: paths
Date Wed, 23 Jul 2008 19:25:33 GMT
Ah, missed that.

thanx.

On Wed, Jul 23, 2008 at 3:21 PM, Alexander Klimetschek <aklimets@day.com>
wrote:

> On Wed, Jul 23, 2008 at 9:14 PM, Michael Harris
> <michael.e.harris@gmail.com> wrote:
> > Can someone confirm or deny the following:  That when a programmer users
> >
> > getNode(somePath);
> >
> > that path has to exist or an exception is thrown.  If I want
> functionality
> > that gets or creates if the path doesn't exist I have to implement it
> > myself?
>
> Yes. You can use Session.getRootNode().hasNode(somePath) to check for
> the existence of a node.
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>



-- 
---------------------
Michael Harris

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