jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: [jira] Commented: (JCR-1405) SPI: Introduce NodeInfo.getChildInfos()
Date Tue, 26 Feb 2008 09:08:39 GMT
Angela Schreiber wrote:
> Michael Dürig wrote:
>>> i.e. RepositoryService.getChildInfos() returns NodeInfos instead of 
>>> ChildInfos.
>> I'd favour such a solution. We might even want to further generalize 
>> it to
>> RepositoryService.getNodeInfos(SessionInfo sessionInfo, NodeId[] nodeId)
> i don't see the benefit of either of those changes since
> they are already covered by
> RepositoryService.getItemInfos
> aren't they?
> if the overall fealing is, that we don't need getNodeInfo or
> getChildInfos i'd rather deprecate them.

No, they aren't covered.

The problem I (still) want to solve is browsing through large collections.

The current API requires first obtaining the NodeIds of the children, 
and then resolving them individually. This is expensive.

What I think we need is a way to ask for the NodeInfos of the children 

BR, Julian

View raw message