use of org.kie.workbench.common.screens.social.hp.client.homepage.events.UserHomepageSelectedEvent in project kie-wb-common by kiegroup.
the class UserHomePageSidePresenter method refreshCacheAndGeneratesSelectEvent.
void refreshCacheAndGeneratesSelectEvent(final String userName) {
socialUserRepositoryAPI.call(new RemoteCallback<SocialUser>() {
public void callback(final SocialUser user) {
users.put(user.getUserName(), user);
selectedEvent.fire(new UserHomepageSelectedEvent(userName));
}
}).findSocialUser(userName);
}
Aggregations