We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.shared.data.
Interface DataRequestRpc
-
All Superinterfaces:
All Known Implementing Classes:
public interface DataRequestRpc extends ServerRpc
RPC interface used for requesting container data to the client.
Since:
7.4
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description void
dropRows(elemental.json.JsonArray rowKeys)
Informs the server that items have been dropped from the client cache.
void
requestRows(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)
Request rows from the server.
-
-
-
Method Detail
-
requestRows
@NoLoadingIndicator void requestRows(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)
Request rows from the server.
Parameters:
firstRowIndex
- the index of the first requested rownumberOfRows
- the number of requested rowsfirstCachedRowIndex
- the index of the first cached rowcacheSize
- the number of cached rows
-
dropRows
@Delayed @NoLoadingIndicator void dropRows(elemental.json.JsonArray rowKeys)
Informs the server that items have been dropped from the client cache.
Parameters:
rowKeys
- array of dropped keys mapping to itemsSince:
7.6
-
-