QueryParams to use always
The total number of items
Calculates the current page number, based on the value of 'first.'
The record number this page starts at.
The sort headers: pairs of column labels, and column identifier objects of type C.
How many items to put on each page
The singleton of the Mapper class you're paginating
Calculates the number of pages the items will be spread across
The items displayed on the current page
Get the current sort state: Pair of (column index, ascending?)
Set the current sort state: Pair of (column index, ascending?)
Returns a new SortState based on a column index.
Returns a list of page numbers to be displayed in 'zoomed' mode, i.e., as the page numbers get further from the current page, they are more sparse.