Class PagerBean
java.lang.Object
org.nuiton.topia.persistence.util.PagerBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TopiaPagerBean
Deprecated.
A pager bean.
Copied from nuiton-utils-3.0, removed since then.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.Index of the page.protected intDeprecated.Page size, says number of records in a page.protected longDeprecated.Number of pages.protected longDeprecated.Index of the last record in this page.protected longDeprecated.Number of records (says numbers of rows displayable.protected longDeprecated.Index of the first record in this page. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intDeprecated.longDeprecated.longDeprecated.longDeprecated.longDeprecated.voidsetPageIndex(int pageIndex) Deprecated.voidsetPageSize(int pageSize) Deprecated.voidsetPagesNumber(long pagesNumber) Deprecated.voidsetRecordEndIndex(long recordEndIndex) Deprecated.voidsetRecords(long records) Deprecated.voidsetRecordStartIndex(long recordStartIndex) Deprecated.toString()Deprecated.
-
Field Details
-
records
protected long recordsDeprecated.Number of records (says numbers of rows displayable. -
recordStartIndex
protected long recordStartIndexDeprecated.Index of the first record in this page. -
recordEndIndex
protected long recordEndIndexDeprecated.Index of the last record in this page. -
pageIndex
protected int pageIndexDeprecated.Index of the page. -
pageSize
protected int pageSizeDeprecated.Page size, says number of records in a page. -
pagesNumber
protected long pagesNumberDeprecated.Number of pages.
-
-
Constructor Details
-
PagerBean
public PagerBean()Deprecated.
-
-
Method Details
-
getRecords
public long getRecords()Deprecated. -
getRecordStartIndex
public long getRecordStartIndex()Deprecated. -
getRecordEndIndex
public long getRecordEndIndex()Deprecated. -
getPageIndex
public int getPageIndex()Deprecated. -
getPageSize
public int getPageSize()Deprecated. -
getPagesNumber
public long getPagesNumber()Deprecated. -
setRecords
public void setRecords(long records) Deprecated. -
setRecordStartIndex
public void setRecordStartIndex(long recordStartIndex) Deprecated. -
setRecordEndIndex
public void setRecordEndIndex(long recordEndIndex) Deprecated. -
setPageIndex
public void setPageIndex(int pageIndex) Deprecated. -
setPageSize
public void setPageSize(int pageSize) Deprecated. -
setPagesNumber
public void setPagesNumber(long pagesNumber) Deprecated. -
toString
Deprecated.
-