chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Created] (CMIS-994) Order of skipTo() and getPage()
Date Tue, 23 Aug 2016 11:10:20 GMT
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)

Mime
View raw message