return page;
}
public Object getRowData() {
if (rowIndex < 0) {
throw new ZanataServiceException("Invalid rowIndex" + rowIndex
+ "for PagedListDataModel");
}
if (page == null) {
page = fetchPage(rowIndex, pageSize);
}
int datasetSize = page.getDatasetSize();
int startRow = page.getStartRow();
int count = page.getData().size();
int endRow = startRow + count;
if (rowIndex >= datasetSize) {
throw new ZanataServiceException("Invalid rowIndex" + rowIndex
+ "for PagedListDataModel");
}
if (rowIndex < startRow) {
page = fetchPage(rowIndex, pageSize);
startRow = page.getStartRow();