diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-01-25 12:27:44 +0200 |
---|---|---|
committer | Denis <denis@vaadin.com> | 2017-01-25 12:27:44 +0200 |
commit | 294ca0a2f5c29b65f9c4dc5887bfa0abc1cb7c7f (patch) | |
tree | 0a4630122dadc632e6508c85e4e79c717508de85 /server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java | |
parent | be694984fb35262b32c89be075e6d4a059931b62 (diff) | |
download | vaadin-framework-294ca0a2f5c29b65f9c4dc5887bfa0abc1cb7c7f.tar.gz vaadin-framework-294ca0a2f5c29b65f9c4dc5887bfa0abc1cb7c7f.zip |
Add APIs to inform components of stale objects in DataProvider (#8271)
* Add DataProvider refreshItem for single item update
* Add 'id' concept for DataProviders
This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.
* Add refresh logic to Grid SelectionModels
* Remove broken equals and hashCode
* Refresh KeyMapper, clean up some methods
* Fix UI.access in test
* Fix tests and Grid single selection model
* Do clean up before replacing data provider
* Check correct variable for null value
* Fix other selects, add generic tests
* Code style fixes, removed assert
* Merge remote-tracking branch 'origin/master' into 286_refresh_items
* Fix documentation for refreshing an item
* Improve introduction chapter, minor clarifications
* Merge remote-tracking branch 'origin/master' into 287_refresh_items
* Add missing parameters in unit tests
Diffstat (limited to 'server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java')
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java index 36d875a21a..b50b5c7fc8 100644 --- a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java @@ -71,5 +71,4 @@ public interface BackEndDataProvider<T, F> extends DataProvider<T, F> { default boolean isInMemory() { return false; } - } |