Add pagination to HL
|Status:||Closed||Start date:||Jul 04, 2017|
|Assignee:||Valentina Marioli||% Done:|
|Sprint:||zz - Home Library Enhancements|
HL should support pagination retrieving nodes.
#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.