public class Page extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
RECORDS_PER_PAGE |
| Constructor and Description |
|---|
Page() |
Page(int currentPage,
int recordsPerPage) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentPage() |
int |
getCurrentRecord() |
Object |
getData() |
int |
getEndRowPosition() |
long |
getNextId() |
long |
getPreId() |
int |
getRecordsPerPage() |
int |
getStartRowPosition() |
int |
getTotalPages() |
int |
getTotalRecords() |
boolean |
isLastPage() |
boolean |
isTooManySearchReturn() |
void |
setCurrentPage(int currentPage) |
void |
setCurrentRecord(int currentRecord) |
void |
setData(Object data) |
void |
setNextId(long nextId) |
void |
setPreId(long preId) |
void |
setRecordsPerPage(int records) |
void |
setTooManySearchReturn(boolean tooManySearchReturn) |
void |
setTotalRecords(int totalRecords) |
public static final int RECORDS_PER_PAGE
public int getStartRowPosition()
public int getEndRowPosition()
public boolean isLastPage()
public void setTotalRecords(int totalRecords)
public int getTotalRecords()
public boolean isTooManySearchReturn()
public void setTooManySearchReturn(boolean tooManySearchReturn)
public void setRecordsPerPage(int records)
public int getRecordsPerPage()
public void setCurrentPage(int currentPage)
public int getCurrentPage()
public int getTotalPages()
public long getPreId()
public void setPreId(long preId)
public long getNextId()
public void setNextId(long nextId)
public int getCurrentRecord()
public void setCurrentRecord(int currentRecord)
public Object getData()
public void setData(Object data)
Copyright © 2016 Le. All rights reserved.