Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.client
Interface PaginatedResultSet

All Superinterfaces:
java.io.Serializable

public interface PaginatedResultSet
extends java.io.Serializable

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.
 boolean isMaxRowsExceeded()
          Determines whether the maximum row count was exceeded by the search.

 

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.

isMaxRowsExceeded

boolean isMaxRowsExceeded()
Determines whether the maximum row count was exceeded by the search.
Returns:
true if the maximum row count was exceeded by the search, false otherwise.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.