com.ibm.websphere.sdo.mediator.jdbc
Interface PagerFactory


public interface PagerFactory

A PagerFactory is used to create Pager or CountingPager instances


Field Summary
static PagerFactory soleInstance
           
 
Method Summary
 CountingPager createCountingPager(int pageSize)
          Create a CountingPager with the specified page size
 CountingPager createCountingPager(int pageSize, commonj.sdo.DataObject arguments)
          Create a CountingPager with the specified page size and arguments
 Pager createPager(int pageSize)
          Create a Pager with the specified page size
 Pager createPager(int pageSize, commonj.sdo.DataObject arguments)
          Create a pager with the specified page size and arguments
 

Field Detail

soleInstance

public static final PagerFactory soleInstance
Method Detail

createPager

public Pager createPager(int pageSize)
                  throws MediatorException
Create a Pager with the specified page size

Parameters:
pageSize -
Returns:
the pager
Throws:
MediatorException

createPager

public Pager createPager(int pageSize,
                         commonj.sdo.DataObject arguments)
                  throws MediatorException
Create a pager with the specified page size and arguments

Parameters:
pageSize -
arguments -
Returns:
the pager
Throws:
MediatorException

createCountingPager

public CountingPager createCountingPager(int pageSize)
                                  throws MediatorException
Create a CountingPager with the specified page size

Parameters:
pageSize -
Returns:
the counting pager
Throws:
MediatorException

createCountingPager

public CountingPager createCountingPager(int pageSize,
                                         commonj.sdo.DataObject arguments)
                                  throws MediatorException
Create a CountingPager with the specified page size and arguments

Parameters:
pageSize -
arguments -
Returns:
the counting pager
Throws:
MediatorException