jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Giannella <giannella.dav...@gmail.com>
Subject Re: Iterating nodes from NodeBuilder
Date Sun, 02 Feb 2014 22:07:29 GMT
On 31/01/2014 15:56, Jukka Zitting wrote:
> You might want to take a look at AbstractTree.getChildNames(), where
> we've implemented a similar custom ordering of child nodes using the
> special :childOrder property. This mechanism is used to implement
> orderable nodes at the JCR level. 
Done already :)

>> I didn't find any iterator() (or similar) method at the
>> NodeBuilder/State level
> We usually return Iterables instead of Iterators. See getChildNames()
> and getChildNodeEntries(), the latter of which is only available on
> NodeState.
>
found it later on, forgot to follow up on the list.

Thanks
Davide



Mime
View raw message