public abstract class AbstractListCallback<MODEL extends Model> extends Object implements ListCallback<MODEL>
Modifier | Constructor and Description |
---|---|
protected |
AbstractListCallback() |
protected |
AbstractListCallback(com.google.gwt.user.client.ui.Widget loadingWidget) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnError(int errorCode,
String errorMessage) |
protected abstract void |
doOnResponse(List<MODEL> result) |
protected void |
doOnTimeout() |
void |
onError(int errorCode,
String errorMessage) |
void |
onResponse(List<MODEL> result,
com.google.gwt.core.client.JavaScriptObject json) |
void |
onTimeout() |
protected AbstractListCallback(com.google.gwt.user.client.ui.Widget loadingWidget)
protected AbstractListCallback()
public void onResponse(List<MODEL> result, com.google.gwt.core.client.JavaScriptObject json)
onResponse
in interface ListCallback<MODEL extends Model>
protected abstract void doOnResponse(List<MODEL> result)
public final void onTimeout()
onTimeout
in interface ListCallback<MODEL extends Model>
public final void onError(int errorCode, String errorMessage)
onError
in interface ListCallback<MODEL extends Model>
protected void doOnTimeout()
Copyright © 2009-2012 SonarSource. All Rights Reserved.