public List<BaseUser> getHottestBlogers() { for (BaseUser user : hottestBlogers) { user.setUserFocused(false); if (this.getSessionUserId() != null && userFansDao.findByUserAndFans(user.getId(), this.getSessionUserId()) != null) { user.setUserFocused(true); } } return hottestBlogers; }
public void initWithHostData(PersonalOnlive personalOnlive, BaseUser user) { this.setUserName(Utils.getEmptyString(user.getNickName())); this.setUserID(Utils.getEmptyString(user.getId().toString())); this.setOnliveID(personalOnlive.getId().toString()); }