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 requestRows(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)
          Request rows from the server.
 void setPinned(java.lang.String key, boolean isPinned)
          Informs the server that an item referenced with a key pinned status has changed.
 

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

setPinned

@Delayed
void setPinned(java.lang.String key,
                       boolean isPinned)
Informs the server that an item referenced with a key pinned status has changed. This is a delayed call that happens along with next rpc call to server.

Parameters:
key - key mapping to item
isPinned - pinned status of referenced item


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