com.bowstreet.builders.webapp.methods
Interface DataRetriever

All Known Subinterfaces:
CollectionDataRetriever
All Known Implementing Classes:
BeanCollectionDataRetriever, CustomDataRetriever, XmlDataRetriever

public interface DataRetriever

Interface defining objects which can return chunks of XML data. Objects implementing this interface are used by the Paging Assistant builder to provide paged access to various data sources.


Method Summary
 IXml getData(int startRow)
          Return rows starting at specified position.
 int getFetchSize()
          Indicate preferred chunk size for data retrieval.
 int getRowCount()
          Return total number of rows in this data set.
 

Method Detail

getData

IXml getData(int startRow)
Return rows starting at specified position. Number of rows should be equal to what getFetchSize would return.


getFetchSize

int getFetchSize()
Indicate preferred chunk size for data retrieval.


getRowCount

int getRowCount()
Return total number of rows in this data set.



Copyright © 2009 IBM. All Rights Reserved.