Feature #9140

Add pagination to HL

Added by Valentina Marioli over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:Jul 04, 2017
Priority:NormalDue date:
Assignee:Valentina Marioli% Done:

100%

Category:common
Sprint:zz - Home Library Enhancements
Milestones:
Duration:

Description

HL should support pagination retrieving nodes.


Related issues

Related to gCube - Feature #9114: DataMiner - Add pagination to Workspace Explorer Closed Jun 30, 2017

History

#1 Updated by Valentina Marioli over 2 years ago

  • Related to Feature #9114: DataMiner - Add pagination to Workspace Explorer added

#2 Updated by Valentina Marioli over 2 years ago

  • % Done changed from 50 to 70

A new method has been added to HL in order to limit the data amount returned by the getChildren method.

org.gcube.common.homelibrary.jcr.workspace.WorkspaceFolder#getChildren(int limit, int offset, boolean showHidden)

@param limit is used to limit the number of results returned.
@param offset says to skip that many items before beginning to return items. If offset < 1, offset parameter will be ignored.
@param showHidden if true, hidden files are included in the result set.

#3 Updated by Valentina Marioli over 2 years ago

  • % Done changed from 70 to 100
  • Status changed from In Progress to Closed

A new method has been added to HL in order to know the number of items retrieved by the getChildren method.
int org.gcube.common.homelibrary.jcr.workspace.WorkspaceFolder#getChildrenCount(boolean hidden)

@param hidden if true, hidden files are included in the count.

Also available in: Atom PDF