public class Pagination extends Object
Modifier and Type | Method and Description |
---|---|
static Pagination |
create(Sorter sorter,
Integer start,
Integer limit)
Tworzy obiekt pagination.
|
Integer |
getLimit() |
Sorter |
getSorter() |
Integer |
getStart() |
void |
setLimit(Integer limit) |
void |
setSorter(Sorter sorter) |
void |
setStart(Integer start) |
public static Pagination create(Sorter sorter, Integer start, Integer limit)
sorter
- Zdefiniowany obiekt sortowania.start
- Przesunięcie w zbiorze wyników.limit
- Maksymalny rozmiar wyników.PaginationException
- Wyjątek rzucany, gdy obiekt Sorter jest null lub gdy nie zosta;ł zdefiniowany
parametr property w obiekcie Sorter.public Sorter getSorter()
public void setSorter(Sorter sorter)
public Integer getStart()
public void setStart(Integer start)
public Integer getLimit()
public void setLimit(Integer limit)
Copyright © 2019 Suncode. All rights reserved.