org.apache.tuscany.das.rdb.impl
Class PagerImpl

java.lang.Object
  extended by org.apache.tuscany.das.rdb.impl.PagerImpl
All Implemented Interfaces:
Pager

public class PagerImpl
extends java.lang.Object
implements Pager


Constructor Summary
PagerImpl(Command command, int size)
           
 
Method Summary
 commonj.sdo.DataObject getPage(int page)
          Return a specific identified page.
 commonj.sdo.DataObject next()
          Get the next page of data
 commonj.sdo.DataObject previous()
          Get the page prior to the last page returned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagerImpl

public PagerImpl(Command command,
                 int size)
Method Detail

next

public commonj.sdo.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 commonj.sdo.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 commonj.sdo.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


Copyright © 2007 Apache Software Foundation. All Rights Reserved.