com.extjs.gxt.ui.client.data
Class RpcProxy<D>

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.RpcProxy<D>
Type Parameters:
D - the data type being returned by the proxy
All Implemented Interfaces:
DataProxy<D>

public abstract class RpcProxy<D>
extends java.lang.Object
implements DataProxy<D>

DataProxy implementation that retrieves data using GWT RPC.


Constructor Summary
RpcProxy()
           
 
Method Summary
 void load(DataReader<D> reader, java.lang.Object loadConfig, com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
          Data should be retrieved using the specified load config.
protected abstract  void load(java.lang.Object loadConfig, com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
          Subclasses should make RPC call using the load configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcProxy

public RpcProxy()
Method Detail

load

public void load(DataReader<D> reader,
                 java.lang.Object loadConfig,
                 com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
Description copied from interface: DataProxy
Data should be retrieved using the specified load config.

Specified by:
load in interface DataProxy<D>
Parameters:
reader - the reader instance
loadConfig - the config
callback - the data callback

load

protected abstract void load(java.lang.Object loadConfig,
                             com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
Subclasses should make RPC call using the load configuration.

Parameters:
callback - the callback to be used when making the rpc call.