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 directly.

BR, Julian

Reply via email to