Package com.appspot.piment.model

Examples of com.appspot.piment.model.UserMap


    String commentMsg = comment.getText();

    if (commentUserId.equals(this.tqqWeiboApi.getUsetId())) {
      tqqApi = this.tqqWeiboApi;
    } else {
      UserMap userMap = this.userMapDao.getUserMap(commentUserId);
      if (userMap != null && StringUtils.isNotBlank(userMap.getTqqUserId())) {
      AuthToken tempAuthToken = this.authTokenDao.getByUserId(userMap.getTqqUserId(), WeiboSource.Tqq);
      this.tqqTempWeiboApi.setAuthToken(tempAuthToken);
      tqqApi = this.tqqTempWeiboApi;
      } else {
      tqqApi = this.tqqRobotWeiboApi;
      commentMsg = "Sina @" + comment.getUser().getScreenName() + "//" + commentMsg;
View Full Code Here


  }
  }

  public UserMap getUserMap(String sinaUserId) {

  UserMap result = null;
  try {

    pm = PMF.get().getPersistenceManager();

    @SuppressWarnings("unchecked")
View Full Code Here

TOP

Related Classes of com.appspot.piment.model.UserMap

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.