org.cruxframework.crux.core.client.datasource
Class DataSourceAsyncCallbackAdapter<T>

java.lang.Object
  extended by org.cruxframework.crux.core.client.rpc.AsyncCallbackAdapter<T[]>
      extended by org.cruxframework.crux.core.client.datasource.DataSourceAsyncCallbackAdapter<T>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<T[]>

public class DataSourceAsyncCallbackAdapter<T>
extends AsyncCallbackAdapter<T[]>

Author:
Thiago da Rosa de Bustamante

Constructor Summary
DataSourceAsyncCallbackAdapter(Object dataSource)
           
 
Method Summary
 void onComplete(T[] result)
          Override this method to handle result received for a remote call
 void onError(Throwable e)
          Override this method to add specific error handling for a remote call
 
Methods inherited from class org.cruxframework.crux.core.client.rpc.AsyncCallbackAdapter
onFailure, onSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceAsyncCallbackAdapter

public DataSourceAsyncCallbackAdapter(Object dataSource)
Method Detail

onComplete

public void onComplete(T[] result)
Description copied from class: AsyncCallbackAdapter
Override this method to handle result received for a remote call

Specified by:
onComplete in class AsyncCallbackAdapter<T[]>
See Also:
AsyncCallbackAdapter.onComplete(java.lang.Object)

onError

public void onError(Throwable e)
Description copied from class: AsyncCallbackAdapter
Override this method to add specific error handling for a remote call

Overrides:
onError in class AsyncCallbackAdapter<T[]>
See Also:
AsyncCallbackAdapter.onError(java.lang.Throwable)


Copyright © 2014. All rights reserved.