Add PagedList was part of #96

This commit is contained in:
Rob Bygrave committed 2014-05-16 01:41:56 +12:00
1 parent 1a4192b40f
commit 41f3173adf
11 files changed
+367 -45

No files matched your search

@@ -14,6 +14,7 @@ import com.avaje.ebean.FutureList;
import com.avaje.ebean.FutureRowCount;
import com.avaje.ebean.Junction;
import com.avaje.ebean.OrderBy;
import com.avaje.ebean.PagedList;
import com.avaje.ebean.PagingList;
import com.avaje.ebean.Query;
import com.avaje.ebean.QueryIterator;
@@ -152,6 +153,11 @@ public class DefaultExpressionList<T> implements SpiExpressionList<T> {
return query.findPagingList(pageSize);
}
@Override
public PagedList<T> findPagedList(int pageIndex, int pageSize) {
return query.findPagedList(pageIndex, pageSize);
}
public int findRowCount() {
return query.findRowCount();
}