public class Paging extends Object
| Modifier and Type | Method and Description |
|---|---|
static Paging |
fromString(String value) |
Page |
getCurrent() |
Page |
getPage(int value) |
int |
getPageCount() |
Page[] |
getPages() |
List<Page> |
getPagesAsList() |
int |
getPageSize() |
Page[] |
getPagesSection(int sectionSize) |
List<Page> |
getPagesSectionAsList(int sectionSize) |
int |
getRecordCount() |
boolean |
isFirst() |
boolean |
isLast() |
void |
next() |
static Paging |
of(int count,
int size) |
static Paging |
of(int count,
int size,
int current) |
void |
prev() |
void |
setCurrent(int current) |
void |
setCurrent(Page current) |
Limit |
toLimit() |
String |
toString() |
public int getRecordCount()
public int getPageSize()
public Page[] getPages()
public Page[] getPagesSection(int sectionSize)
public int getPageCount()
public Page getCurrent()
public void setCurrent(Page current)
public void setCurrent(int current)
public void next()
public void prev()
public boolean isFirst()
public boolean isLast()
public Page getPage(int value)
public static Paging of(int count, int size)
public static Paging of(int count, int size, int current)
public Limit toLimit()
Copyright © 2015–2017 Bridje Framework. All rights reserved.