com.atlassian.greenhopper.web.rapid.chart
Class StatisticHistoryDataServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl
All Implemented Interfaces:
StatisticHistoryDataService

@Service
public class StatisticHistoryDataServiceImpl
extends java.lang.Object
implements StatisticHistoryDataService

Simple implementation using the issue change history. Note that this service is rather slow as it has to hit the database for each issue separately


Constructor Summary
StatisticHistoryDataServiceImpl()
           
 
Method Summary
 ServiceOutcome<java.util.Map<java.lang.String,java.util.List<StatisticHistoryEntry>>> getStatisticHistory(com.atlassian.crowd.embedded.api.User user, java.util.Collection<java.lang.String> issueKeys, StatisticsField statisticField, org.joda.time.DateTime sprintCompleteDate)
          Fetch the value history for a given statistic field and a set of issues.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticHistoryDataServiceImpl

public StatisticHistoryDataServiceImpl()
Method Detail

getStatisticHistory

public ServiceOutcome<java.util.Map<java.lang.String,java.util.List<StatisticHistoryEntry>>> getStatisticHistory(com.atlassian.crowd.embedded.api.User user,
                                                                                                                 java.util.Collection<java.lang.String> issueKeys,
                                                                                                                 StatisticsField statisticField,
                                                                                                                 org.joda.time.DateTime sprintCompleteDate)
Description copied from interface: StatisticHistoryDataService
Fetch the value history for a given statistic field and a set of issues.

Specified by:
getStatisticHistory in interface StatisticHistoryDataService


Copyright © 2007-2012 Atlassian. All Rights Reserved.