From 9822bf1315de63f326b44fff2a7607edad21873c Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Fri, 16 Jun 2017 11:48:53 +0300 Subject: Add missing JavaDoc to DataCommunicator --- .../java/com/vaadin/data/provider/DataCommunicator.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java index 230eab8d40..2f46b6526a 100644 --- a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java +++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java @@ -355,6 +355,17 @@ public class DataCommunicator extends AbstractExtension { updatedData.clear(); } + /** + * Fetches a list of items from the DataProvider. + * + * @param offset + * the starting index of the range + * @param limit + * the max number of results + * @return the list of items in given range + * + * @since 8.1 + */ @SuppressWarnings({ "rawtypes", "unchecked" }) protected List fetchItemsWithRange(int offset, int limit) { return (List) getDataProvider().fetch(new Query(offset, limit, @@ -667,6 +678,8 @@ public class DataCommunicator extends AbstractExtension { * * @param * the filter type + * + * @since 8.1 */ protected void setFilter(F filter) { this.filter = filter; -- cgit v1.2.3