You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2016/08/23 11:10:20 UTC
[jira] [Created] (CMIS-994) Order of skipTo() and getPage()
Florian Müller created CMIS-994:
-----------------------------------
Summary: Order of skipTo() and getPage()
Key: CMIS-994
URL: https://issues.apache.org/jira/browse/CMIS-994
Project: Chemistry
Issue Type: Bug
Components: opencmis-client
Affects Versions: OpenCMIS 0.14.0
Reporter: Florian Müller
Assignee: Florian Müller
{{ItemIterable}} s have {{skipTo()}} and {{getPage()}} methods to allow paging of CMIS collections.
The code {{itemIterable.skipTo(5).getPage(10)}} skips the first 5 items and returns a collection of 10 items.
The code {{itemIterable.getPage(10).skipTo(5)}} ignores the page size. It skips 5 items and returns the rest of the collection. I guess that was never indented and should be aligned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)