Add PagedList was part of #96

This commit is contained in:
Rob Bygrave
2014-05-16 01:41:56 +12:00
parent 1a4192b40f
commit 41f3173adf
11 changed files with 367 additions and 45 deletions
@@ -12,6 +12,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.QueryIterator;
import com.avaje.ebean.QueryResultVisitor;
@@ -229,6 +230,11 @@ abstract class JunctionExpression<T> implements Junction<T>, SpiExpression, Expr
public PagingList<T> findPagingList(int pageSize) {
return exprList.findPagingList(pageSize);
}
@Override
public PagedList<T> findPagedList(int pageIndex, int pageSize) {
return exprList.findPagedList(pageIndex, pageSize);
}
public int findRowCount() {
return exprList.findRowCount();