Hi Szymon,

Rereading my email, there is something important I forgot to write: the
snippet of code is the following:

itemOps = new a BatchedItemOperations(...);
NodeState root = itemOps.getNodeState(nodeInfo.getId());
root.getChildNodeEntries();

As you can see root is not an instance of Node but of NodeState. Maybe it
would help you to explain things better?

Nico
my blog! http://www.deviant-abstraction.net !!

On 10/31/06, Szymon Kuzniak <[EMAIL PROTECTED]> wrote:

if You would like to fetch children, I think the better way will be to
use getNodes() method on root node, because getChildNodeEntries()
returns list of node entries, not nodes. This will return NodeIterator,
so You will be able to iterate over all children.
Hope this will help.

Regards
Simon


--
Szymon Kuzniak
szymon.kuzniak( at )cognifide.com
Skype: skuzniak
Cognifide Poland
Poznan

Reply via email to