Package com.changestuffs.shared.actions

Examples of com.changestuffs.shared.actions.GetUserInfo


  protected void onReveal() {
    super.onReveal();
    setContacts(user.getPendingFriends(), true);
    setContacts(user.getConversations().keySet(), false);
   
    dispatcher.execute(new GetUserInfo(null),
        new AsyncCallback<GetUserInfoResult>() {
          @Override
          public void onFailure(Throwable arg0) {
            GWT.log("Error doing GetUserInfo", arg0);
          }
View Full Code Here


  @Override
  public void prepareFromRequest(PlaceRequest request) {
    super.prepareFromRequest(request);
    final String user = request.getParameter(Parameters.user.name(), null);
    if (user != null && this.user.getConversations().keySet().contains(user)) {
      dispatcher.execute(new GetUserInfo(user),
          new AsyncCallback<GetUserInfoResult>() {
            @Override
            public void onFailure(Throwable arg0) {
              GWT.log("Error doing GetUserInfo", arg0);
            }
View Full Code Here

  }
 
  @Override
  protected void onBind() {
    super.onBind();
    dispatcher.execute(new GetUserInfo(null), new AsyncCallback<GetUserInfoResult>() {
      @Override
      public void onFailure(Throwable arg0) {
        GWT.log("Unexpected error", arg0);
      }
      @Override
View Full Code Here

 
  @Override
  protected void onReveal() {
    super.onReveal();
    if(user.getEmail() != null){
      dispatcher.execute(new GetUserInfo(null),
          new AsyncCallback<GetUserInfoResult>() {
            @Override
            public void onFailure(Throwable arg0) {
              GWT.log("Error doing GetUserInfo", arg0);
            }
View Full Code Here

TOP

Related Classes of com.changestuffs.shared.actions.GetUserInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.