com.ibm.websphere.sdo.mediator
Interface CountingPager
All Superinterfaces:
Pager, java.io.Serializable
- public interface CountingPager
- extends Pager
Method Summary
Modifier and Type | Method and Description |
---|---|
|
isFirstPage(JDBCMediator mediator)
Returns true if the current page is the first page
|
|
isLastPage(JDBCMediator mediator)
Returns true if the current page is the last page
|
|
page(int pageNumber,JDBCMediator mediator)
Returns the root DataObject from the specified page number
|
|
pageCount(JDBCMediator mediator)
Returns the number of pages
|
Methods inherited from interface com.ibm.websphere.sdo.mediator.Pager |
---|
getPageSize, next, previous |
Method Detail
isFirstPage
- boolean isFirstPage(JDBCMediator mediator)
- throws MediatorException
Returns true if the current page is the first page
Parameters:
mediator
- Returns:
true if the current page is the first page
Throws:
isLastPage
- boolean isLastPage(JDBCMediator mediator)
- throws MediatorException
Returns true if the current page is the last page
page
- commonj.sdo.DataObject page(int pageNumber,
- JDBCMediator mediator)
- throws MediatorException
Returns the root DataObject from the specified page number
pageCount
- int pageCount(JDBCMediator mediator)
- throws MediatorException
Returns the number of pages