Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


oracle.iam.rm.client
Interface PaginatedResultSet


public interface PaginatedResultSet

Interface for a set of results that is handled in a paginated form.


Method Summary
 int getCurrentPage()
          Gets the current page index of this result set.
 int getCurrentPageRowCount()
          Gets the number of rows in the current page.
 PageRow getPageRow(int index)
          Gets the PageRow for the index specified within the current page.
 int getPageSize()
          Gets the "normal" number of rows in a page.
 int getTotalPageCount()
          Gets the total number of pages in this result set.
 int getTotalRowCount()
          Gets the total number of rows in this result set.
 void gotoPage(int pageIndex)
          Moves this result set to the specified page.

 

Method Detail

getTotalRowCount

int getTotalRowCount()
Gets the total number of rows in this result set.
Returns:
int representing the total number of rows in this result set.

getTotalPageCount

int getTotalPageCount()
Gets the total number of pages in this result set.
Returns:
int representing the total number of pages in this result set.

getCurrentPage

int getCurrentPage()
Gets the current page index of this result set.
Returns:
int representing the current page index of this result set.

getPageRow

PageRow getPageRow(int index)
Gets the PageRow for the index specified within the current page.
Parameters:
index - int representing the index of the row within the page
Returns:
PageRow for the index specified within the current page.

getCurrentPageRowCount

int getCurrentPageRowCount()
Gets the number of rows in the current page.
Returns:
int representing the number of rows in the current page.

gotoPage

void gotoPage(int pageIndex)
Moves this result set to the specified page.
Parameters:
pageIndex - int representing the index of the page to go to

getPageSize

int getPageSize()
Gets the "normal" number of rows in a page. Note: this is usually different from the number of rows in the last page.
Returns:
int representing the number of rows in the current page.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


Copyright © 2007, 2008 Oracle. All Rights Reserved.