Class Page

java.lang.Object
ru.bgcrm.model.Page

public class Page extends Object
Pagination data.
  • Field Details

  • Constructor Details

    • Page

      public Page(int pageIndex, int pageSize)
    • Page

      public Page()
  • Method Details

    • setData

      public void setData(Page page)
    • isPaginationEnabled

      public boolean isPaginationEnabled()
      Returns:
      pageIndex > 0
    • getPageIndex

      public int getPageIndex()
    • setPageIndex

      public void setPageIndex(int value)
      Sets page index.
      Parameters:
      value - required page index, PAGE_INDEX_NO_PAGING for disabling pagination.
    • getPageSize

      public int getPageSize()
    • setPageSize

      public void setPageSize(int pageSize)
    • getPageCount

      public int getPageCount()
    • setPageCount

      public void setPageCount(int pageCount)
    • getPageFirstRecordNumber

      public int getPageFirstRecordNumber()
    • getRecordCount

      public int getRecordCount()
    • setRecordCount

      public void setRecordCount(int recordCount)
      Sets record count and calculated amount of pages.
      Parameters:
      recordCount -