| java.lang.Object com.completex.objective.components.persistency.Page
Page | public class Page (Code) | | Records page representation
|
Constructor Summary | |
public | Page(int pageNumber, int pageSize) |
Page | public Page(int pageNumber, int pageSize)(Code) | | Parameters: pageNumber - page number starting with 1 Parameters: pageSize - page size |
getNumber | public int getNumber()(Code) | | Returns page number starting with 1
page number starting with 1 |
getOffset | public int getOffset()(Code) | | Returns page offset starting with 0
page offset starting with 0 |
getOffset | public static int getOffset(int pageNumber, int pageSize)(Code) | | Returns page offset starting with 0
page offset starting with 0 |
getSize | public int getSize()(Code) | | Returns page size
page size |
|
|