org.apache.tuscany.das.rdb.impl
Class PagerImpl
java.lang.Object
org.apache.tuscany.das.rdb.impl.PagerImpl
- All Implemented Interfaces:
- Pager
public class PagerImpl
- extends Object
- implements Pager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerImpl
public PagerImpl(Command command,
int size)
next
public DataObject next()
- Description copied from interface:
Pager
- Get the next page of data
- Specified by:
next
in interface Pager
- Returns:
- the next page of data
getPage
public DataObject getPage(int page)
- Description copied from interface:
Pager
- Return a specific identified page.
- Specified by:
getPage
in interface Pager
- Parameters:
page
- The number of the page to return
- Returns:
- the indicated page
previous
public DataObject previous()
- Description copied from interface:
Pager
- Get the page prior to the last page returned
- Specified by:
previous
in interface Pager
- Returns:
- the previous page
-