[DATACMNS-1476] Add Slice.nextOrLastPageable() and ....previousOrFirstPageable() Created: 28/Jan/19  Updated: 07/Mar/19  Resolved: 28/Jan/19

Status: Closed
Project: Spring Data Commons
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.2 M2 (Moore)

Type: Improvement Priority: Minor
Reporter: Oliver Drotbohm Assignee: Oliver Drotbohm
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relate
relates to DATACMNS-1475 Javadoc of Slice.nextPageable() and …... Closed
Last updater: Christoph Strobl
Sprint: Lovelace SR1

 Description   

The standard Slice.nextPageable() and ....previousPageable() allow the Pageable lookups to exceed out side of the scope of the result into Pageable.unpaged(). That however causes a next request for a Page or Slice to return the entire result set.

The to be added methods could keep the lookup inside the result window and return the last or first Pageable if the current Page/Slice is already the last or first one.


Generated at Sat Jul 04 19:39:48 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.