Interface OffsetPage

All Superinterfaces:
SearchPagination<OffsetPage>
All Known Implementing Classes:
OffsetPageImpl

public interface OffsetPage extends SearchPagination<OffsetPage>
Offset-based pagination supporting from (offset) and limit.

Use this for pagination where you need to skip a specific number of results and limit the returned items.

  • Method Summary

    Modifier and Type
    Method
    Description
    from(Integer value)
    Start the page from the given offset (0-based index).
    limit(Integer value)
    Limit the number of returned entities.
  • Method Details

    • from

      OffsetPage from(Integer value)
      Start the page from the given offset (0-based index).
    • limit

      OffsetPage limit(Integer value)
      Limit the number of returned entities.