if(project != null) {
projectLoadedCallback.onSuccess(project);
return;
}
final LoadProjectAction action = new LoadProjectAction(checkNotNull(projectId));
DispatchServiceManager.get().execute(action, new AsyncCallback<LoadProjectResult>() {
@Override
public void onFailure(Throwable caught) {
projectLoadedCallback.onFailure(caught);
}