Skip to Content
0
Former Member
Dec 04, 2006 at 06:56 AM

Retrieve limited amount of records in repository

9 Views

Hi,

In a repository, when a user clicks on a folder, its children are retrieved. In my Namespace Manager, how to get only limited amount of children, while telling the user the total number of records? I mean, in method findResources() in MyNamespaceManager:

public List findResources(xx){

Node node = handle.getNode();

while(node.getChildren().iterator().next())

children.add(new Handle(xx);

return children;

}

Can I only return part of records, while still let RF know how many records indeed exist?

Thanks,

Ray