diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-05-12 10:50:45 +0300 |
---|---|---|
committer | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-05-12 11:02:15 +0000 |
commit | 22271249251894dfc7cfbebad6b4d2faf4c0313e (patch) | |
tree | 31892d24366c14da9e1f6767b35bd4f51f80e95e /server/src/com/vaadin/data | |
parent | c30438b27d474e5f47d7f58045b77bbcb606ff7a (diff) | |
download | vaadin-framework-22271249251894dfc7cfbebad6b4d2faf4c0313e.tar.gz vaadin-framework-22271249251894dfc7cfbebad6b4d2faf4c0313e.zip |
Add missing @since for 7.5
Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
Diffstat (limited to 'server/src/com/vaadin/data')
-rw-r--r-- | server/src/com/vaadin/data/RpcDataProviderExtension.java | 22 | ||||
-rw-r--r-- | server/src/com/vaadin/data/util/converter/StringToCollectionConverter.java | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/data/RpcDataProviderExtension.java index e645ec60f7..cc1fbcf5e3 100644 --- a/server/src/com/vaadin/data/RpcDataProviderExtension.java +++ b/server/src/com/vaadin/data/RpcDataProviderExtension.java @@ -50,6 +50,7 @@ import com.vaadin.server.KeyMapper; import com.vaadin.shared.data.DataProviderRpc; import com.vaadin.shared.data.DataRequestRpc; import com.vaadin.shared.ui.grid.DetailsConnectorChange; +import com.vaadin.shared.ui.grid.GridClientRpc; import com.vaadin.shared.ui.grid.GridState; import com.vaadin.shared.ui.grid.Range; import com.vaadin.shared.util.SharedUtil; @@ -135,6 +136,15 @@ public class RpcDataProviderExtension extends AbstractExtension { return String.valueOf(rollingIndex++); } + /** + * Gets the key for a given item id. Creates a new key mapping if no + * existing mapping was found for the given item id. + * + * @since 7.5.0 + * @param itemId + * the item id to get the key for + * @return the key for the given item id + */ public String getKey(Object itemId) { String key = itemIdToKey.get(itemId); if (key == null) { @@ -1428,6 +1438,11 @@ public class RpcDataProviderExtension extends AbstractExtension { return visibleDetails.contains(itemId); } + /** + * Refreshes all visible detail sections. + * + * @since 7.5.0 + */ public void refreshDetails() { for (Object itemId : ImmutableSet.copyOf(visibleDetails)) { detailComponentManager.refresh(itemId); @@ -1443,7 +1458,12 @@ public class RpcDataProviderExtension extends AbstractExtension { return container.indexOfId(itemId); } - /** Gets the detail component manager for this data provider */ + /** + * Gets the detail component manager for this data provider + * + * @since 7.5.0 + * @return the detail component manager + * */ public DetailComponentManager getDetailComponentManager() { return detailComponentManager; } diff --git a/server/src/com/vaadin/data/util/converter/StringToCollectionConverter.java b/server/src/com/vaadin/data/util/converter/StringToCollectionConverter.java index a84a3575f7..495bed74f8 100644 --- a/server/src/com/vaadin/data/util/converter/StringToCollectionConverter.java +++ b/server/src/com/vaadin/data/util/converter/StringToCollectionConverter.java @@ -34,6 +34,8 @@ import java.util.Locale; * {@link String} for token types. Other constructors allow to configure * delimiter and token types. * + * @since 7.5.0 + * * @author Vaadin Ltd */ public class StringToCollectionConverter implements |