From 7780dd62721ba90ed6366b59778b6d4ecc26a100 Mon Sep 17 00:00:00 2001 From: Kyle Valade Date: Fri, 7 Oct 2016 12:26:06 -0400 Subject: [PATCH] Remove outdated findPageList(int, int) javadocs The class no longer supports that type of call --- src/main/java/com/avaje/ebean/PagedList.java | 24 -------------------- 1 file changed, 24 deletions(-) diff --git a/src/main/java/com/avaje/ebean/PagedList.java b/src/main/java/com/avaje/ebean/PagedList.java index 5aeef1895..3bd67beae 100644 --- a/src/main/java/com/avaje/ebean/PagedList.java +++ b/src/main/java/com/avaje/ebean/PagedList.java @@ -44,30 +44,6 @@ import java.util.concurrent.Future; * * } * - *

Example: typical use including total row count

- *
{@code
- *
- *     // We want to find the first 100 new orders
- *     //  ... 0 means first page
- *     //  ... page size is 100
- *
- *     PagedList pagedList
- *       = ebeanServer.find(Order.class)
- *       .where().eq("status", Order.Status.NEW)
- *       .order().asc("id")
- *       .findPagedList(0, 100);
- *
- *     // Optional: initiate the loading of the total
- *     // row count in a background thread
- *     pagedList.loadRowCount();
- *
- *     // fetch and return the list in the foreground thread
- *     List orders = pagedList.getList();
- *
- *     // get the total row count (from the future)
- *     int totalRowCount = pagedList.getTotalRowCount();
- *
- * }
* *

Example: No total row count required

*
{@code