org.kuali.student.common.ui.client.application
Class KSAsyncCallback<T>

java.lang.Object
  extended by org.kuali.student.common.ui.client.application.KSAsyncCallback<T>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<T>
Direct Known Subclasses:
AbstractCallback

public abstract class KSAsyncCallback<T>
extends Object
implements com.google.gwt.user.client.rpc.AsyncCallback<T>

All GWT call backs use this class, which allows us to intercept any failure and handle them appropriately.

Author:
Kuali Student Team

Constructor Summary
KSAsyncCallback()
           
 
Method Summary
 void handleFailure(Throwable caught)
          Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.
 void handleTimeout(Throwable caught)
          Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.
 void handleVersionMismatch(Throwable caught)
          Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.
 void onFailure(Throwable caught)
          Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.rpc.AsyncCallback
onSuccess
 

Constructor Detail

KSAsyncCallback

public KSAsyncCallback()
Method Detail

onFailure

public void onFailure(Throwable caught)
Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.

Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<T>

handleFailure

public void handleFailure(Throwable caught)
Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.


handleTimeout

public void handleTimeout(Throwable caught)
Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.


handleVersionMismatch

public void handleVersionMismatch(Throwable caught)
Allows institution to override this method by implementing its own AsyncCallbackFailureHandler.



Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.