com.atlassian.greenhopper.upgrade
Class GhUpgradeTask017DaoImpl

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.upgrade.GhUpgradeTask017DaoImpl
All Implemented Interfaces:
GhUpgradeTask017Dao

@Service
public class GhUpgradeTask017DaoImpl
extends AbstractLoggable
implements GhUpgradeTask017Dao


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
GhUpgradeTask017DaoImpl()
           
 
Method Summary
 void createEstimateStatisticsForRapidViewAOs(java.util.Map<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> rapidViewParams)
          Create EstimateStatisticAO records for each RapidViewAO we have inside a transaction.
 java.util.Map<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> getEstimateStatisticsParamsForRapidViews(java.lang.String defaultStoryPointsFieldId)
          Build up a map of rapidViewIds to their template for EstimateStatisticAO (minus the RAPID VIEW ID)
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhUpgradeTask017DaoImpl

public GhUpgradeTask017DaoImpl()
Method Detail

getEstimateStatisticsParamsForRapidViews

@NotNull
public java.util.Map<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> getEstimateStatisticsParamsForRapidViews(@Nullable
                                                                                                                                       java.lang.String defaultStoryPointsFieldId)
Description copied from interface: GhUpgradeTask017Dao
Build up a map of rapidViewIds to their template for EstimateStatisticAO (minus the RAPID VIEW ID)

Specified by:
getEstimateStatisticsParamsForRapidViews in interface GhUpgradeTask017Dao
Parameters:
defaultStoryPointsFieldId - the ID of the default story points field
Returns:
the mapping of parameters

createEstimateStatisticsForRapidViewAOs

public void createEstimateStatisticsForRapidViewAOs(@NotNull
                                                    java.util.Map<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> rapidViewParams)
Description copied from interface: GhUpgradeTask017Dao
Create EstimateStatisticAO records for each RapidViewAO we have inside a transaction.

Specified by:
createEstimateStatisticsForRapidViewAOs in interface GhUpgradeTask017Dao
Parameters:
rapidViewParams - mapping of rapidViewId to the template of estimate statistic parameters


Copyright © 2007-2012 Atlassian. All Rights Reserved.