Module bus.pager

Interface Paging

All Known Implementing Classes:
PageParam

public interface Paging
Paging interface for defining common paging parameters.
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the order by clause for sorting.
    Retrieves the current page number.
    Retrieves the size of each page.
  • Method Details

    • getPageNo

      Integer getPageNo()
      Retrieves the current page number.
      Returns:
      the current page number
    • getPageSize

      Integer getPageSize()
      Retrieves the size of each page.
      Returns:
      the page size
    • getOrderBy

      String getOrderBy()
      Retrieves the order by clause for sorting.
      Returns:
      the order by clause