summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-06-16 11:48:53 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-06-16 11:48:53 +0300
commit9822bf1315de63f326b44fff2a7607edad21873c (patch)
treea63503f01676ba11e06a4424a7b045f50512dbea /server
parent2c5dd49f00672b8df3c81609a9e82a04b9aabd03 (diff)
downloadvaadin-framework-9822bf1315de63f326b44fff2a7607edad21873c.tar.gz
vaadin-framework-9822bf1315de63f326b44fff2a7607edad21873c.zip
Add missing JavaDoc to DataCommunicator
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/data/provider/DataCommunicator.java13
1 files changed, 13 insertions, 0 deletions
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<T> 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<T> fetchItemsWithRange(int offset, int limit) {
return (List<T>) getDataProvider().fetch(new Query(offset, limit,
@@ -667,6 +678,8 @@ public class DataCommunicator<T> extends AbstractExtension {
*
* @param <F>
* the filter type
+ *
+ * @since 8.1
*/
protected <F> void setFilter(F filter) {
this.filter = filter;