Package com.vaadin.shared.data
Interface DataRequestRpc
-
- All Superinterfaces:
Serializable
,ServerRpc
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 Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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(JsonArray rowKeys)
Informs the server that items have been dropped from the client cache.- Parameters:
rowKeys
- array of dropped keys mapping to items- Since:
- 7.6
-
-