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

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


    VersionStatistic versionStatistic = null;
    if (statisticRef != null)
    {
      versionStatistic = getOrCreate(projectKey, version, statisticRef, userWrapper);
      versionStatistic.setValue(value);
      versionStatistic.save();
    }

    return versionStatistic;
  }
View Full Code Here


    VersionStatistic versionStatistic = ao.create(getClazz(), new DBParam("KEY", KeyableUtils.buildKey(projectKey, version, statisticRef, userWrapper)));
    versionStatistic.setProjectKey(projectKey);
    versionStatistic.setVersion(version);
    versionStatistic.setStatisticRef(statisticRef);
    versionStatistic.setUserWrapper(userWrapper);
    versionStatistic.save();

    return versionStatistic;
  }

}
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.