}
@Override
public void onSuccess(DisplayAuthorResult result) {
Author author = new Author();
author.setDisplayName(result.getName());
author.setUri(result.getUri());
getView().setAuthorName(result.getName());
similarAuthorsListPresenter.setTitle("Similar authors");
similarAuthorsListPresenter.setList(result.getSimilarAuthors(25),5);
citedAuthorsListPresenter.setTitle("cites:");
citedAuthorsListPresenter.setList(result.getCitedAuthors(25),5);
citedByAuthorsListPresenter.setTitle("cited by:");
citedByAuthorsListPresenter.setList(result.getCitedByAuthors(25),5);
coAuthorsListPresenter.setTitle("Coauthors");
coAuthorsListPresenter.setList(result.getCoAuthors(25),5);
paperListPresenter.setTitle("Articles");
paperListPresenter.setList(result.getWrittenPapers(30),10);
// hide Loading overlay
getEventBus().fireEvent(new LoadingOverlayEvent(false));
getEventBus().fireEvent(new SidebarReloadedEvent(result.getSidebar(), author_url));
getEventBus().fireEvent(new DiscussionsReloadedEvent(author.getUri(), result.getComments()));
}
});
}