com.vaadin.shared.data
Interface DataRequestRpc

All Superinterfaces:
java.io.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
 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 row
numberOfRows - the number of requested rows
firstCachedRowIndex - the index of the first cached row
cacheSize - 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


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.