@Override
  public int ChangeSinaFriendsToScholarFriends(String userName) {
    // TODO Auto-generated method stub

    ScholarUser scholarUser = scholarUserDao.getScholarUserByName(userName);
    List friendList = scholarUserDao.getScholarFriendsForSina(scholarUser);
    boolean flag = false;
    if (friendList != null) {
      flag = scholarUserDao.addSeveralFriendsForUser(scholarUser, friendList);
    }
    if (flag) return friendList.size();
    else return 0;
  }