Class DataCommunicator.SimpleDataRequestRpc

  • All Implemented Interfaces:
    com.vaadin.shared.communication.ServerRpc, com.vaadin.shared.data.DataRequestRpc, java.io.Serializable
    Enclosing class:
    DataCommunicator<T>

    protected class DataCommunicator.SimpleDataRequestRpc
    extends java.lang.Object
    implements com.vaadin.shared.data.DataRequestRpc
    Simple implementation of collection data provider communication. All data is sent by server automatically and no data is requested by client.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SimpleDataRequestRpc()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dropRows​(elemental.json.JsonArray keys)  
      void requestRows​(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleDataRequestRpc

        protected SimpleDataRequestRpc()
    • Method Detail

      • requestRows

        public void requestRows​(int firstRowIndex,
                                int numberOfRows,
                                int firstCachedRowIndex,
                                int cacheSize)
        Specified by:
        requestRows in interface com.vaadin.shared.data.DataRequestRpc
      • dropRows

        public void dropRows​(elemental.json.JsonArray keys)
        Specified by:
        dropRows in interface com.vaadin.shared.data.DataRequestRpc