jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChadDavis <chadmichaelda...@gmail.com>
Subject Re: How to get folder
Date Thu, 11 Nov 2010 15:25:58 GMT
On Thu, Nov 11, 2010 at 1:20 AM, Rencana Tarigan
<rencana_tarigan@yahoo.co.id> wrote:
> Hello all,
> can someone tell me how to get all folder on a tree from jackrabbit
> repository server ?

If folder is a node type, you can use an XPath query, via the query
API, that specifies all nodes of a given type.  You can construct the
XPath so that it goes recursively.

There are also other search interfaces, such as an SQL interface.
Sounds like you want the query api, whichever interface you choose,
rather than the method you cited.

> currently i use PropFindMethod, but i think it's spend much time for it..
>
> Thanks
>
> --
> -----=====*=====-----
> Rencana Tarigan
> +6285270567856
> YM   : rencana_tarigan
> Skype: rencana.tarigan
> http://cana.web.id
>
>

Mime
View raw message