org.broadleafcommerce.openadmin.client.service
Class AbstractCallback<T>

java.lang.Object
  extended by com.gwtincubator.security.client.SecuredAsyncCallback<T>
      extended by org.broadleafcommerce.openadmin.client.service.AbstractCallback<T>
Type Parameters:
T -
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<T>
Direct Known Subclasses:
EntityServiceAsyncCallback

public abstract class AbstractCallback<T>
extends com.gwtincubator.security.client.SecuredAsyncCallback<T>

Author:
jfischer

Constructor Summary
AbstractCallback()
           
 
Method Summary
protected  void logout(String msg, Throwable exception)
           
protected  void onOtherException(Throwable exception)
           
protected  void onSecurityException(com.gwtincubator.security.exception.ApplicationSecurityException exception)
           
 void onSuccess(T result)
           
protected  boolean processResult(Entity result, String requestId, com.smartgwt.client.data.DSResponse response, com.smartgwt.client.data.DataSource dataSource)
           
 
Methods inherited from class com.gwtincubator.security.client.SecuredAsyncCallback
onFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCallback

public AbstractCallback()
Method Detail

onSuccess

public void onSuccess(T result)

processResult

protected boolean processResult(Entity result,
                                String requestId,
                                com.smartgwt.client.data.DSResponse response,
                                com.smartgwt.client.data.DataSource dataSource)

onOtherException

protected void onOtherException(Throwable exception)
Specified by:
onOtherException in class com.gwtincubator.security.client.SecuredAsyncCallback<T>

onSecurityException

protected void onSecurityException(com.gwtincubator.security.exception.ApplicationSecurityException exception)
Specified by:
onSecurityException in class com.gwtincubator.security.client.SecuredAsyncCallback<T>

logout

protected void logout(String msg,
                      Throwable exception)


Copyright © 2013. All Rights Reserved.