com.vaadin.shared.data.

Interface DataRequestRpc

    • Method Summary

      All Methods
      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.

    • 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