public interface DataRequestRpc extends ServerRpc
Modifier and Type | Method and Description |
---|---|
void |
dropRows(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.
|
@NoLoadingIndicator void requestRows(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)
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@Delayed @NoLoadingIndicator void dropRows(JsonArray rowKeys)
rowKeys
- array of dropped keys mapping to itemsCopyright © 2018 Vaadin Ltd. All rights reserved.