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

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


    ProjectStatistic projectStatistic = null;
    if (statisticRef != null)
    {
      projectStatistic = getOrCreate(projectKey, statisticRef, userWrapper);
      projectStatistic.setValue(value);
      projectStatistic.save();
    }

    return projectStatistic;
  }
View Full Code Here


  {
    ProjectStatistic projectStatistic = ao.create(getClazz(), new DBParam("KEY", KeyableUtils.buildKey(projectKey, statisticRef, userWrapper)));
    projectStatistic.setProjectKey(projectKey);
    projectStatistic.setStatisticRef(statisticRef);
    projectStatistic.setUserWrapper(userWrapper);
    projectStatistic.save();

    return projectStatistic;
  }

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.