Package com.madgnome.jira.plugins.jirachievements.data.ao

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.UserAchievement.save()


    {
      UserAchievement userAchievement = ao.create(UserAchievement.class);
      userAchievement.setUserWrapper(userWrapper);
      userAchievement.setAchievement(achievement);
      userAchievement.setCreatedOn(new Date());
      userAchievement.save();
    }
  }

  @Override
  public UserAchievement get(Achievement achievement, UserWrapper userWrapper)
View Full Code Here


  public UserAchievement updateNotification(int achievementId, UserWrapper userWrapper, boolean notified)
  {
    UserAchievement userAchievement = userAchievementDaoService.get(achievementId, userWrapper.getID());
    userAchievement.setNotified(notified);
    userAchievement.save();

    return userAchievement;
  }

  public void activate(int achievementId, boolean active)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.