com.atlassian.greenhopper.manager.trackingstatistic
Class TrackingStatisticAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
      extended by com.atlassian.greenhopper.manager.trackingstatistic.TrackingStatisticAOListMapper
All Implemented Interfaces:
AOListMapper<TrackingStatisticAO,StatisticsFieldConfig>

public class TrackingStatisticAOListMapper
extends AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>

An AOListMapper for TrackingStatisticAO records.

Since:
v5.9.5

Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Method Summary
 java.lang.Class<TrackingStatisticAO> getActiveObjectClass()
          Get the class of T
 TrackingStatisticAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(TrackingStatisticAO recordAO, StatisticsFieldConfig estimateStatistic)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(TrackingStatisticAO estimateStatisticAO)
          Called before the element is deleted, gives the mapper a chance to clean up child objects
 
Methods inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
addCreateValues, findExisting, fromAO, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActiveObjectClass

public java.lang.Class<TrackingStatisticAO> getActiveObjectClass()
Description copied from interface: AOListMapper
Get the class of T

Specified by:
getActiveObjectClass in interface AOListMapper<TrackingStatisticAO,StatisticsFieldConfig>
Specified by:
getActiveObjectClass in class AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>

postCreateUpdate

public void postCreateUpdate(TrackingStatisticAO recordAO,
                             StatisticsFieldConfig estimateStatistic)
Description copied from interface: AOListMapper
Called on the updated AO object (either once created or updated/saved). Gives the mapper a chance to do further work, e.g. update child objects.

Specified by:
postCreateUpdate in interface AOListMapper<TrackingStatisticAO,StatisticsFieldConfig>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>

preDelete

public void preDelete(TrackingStatisticAO estimateStatisticAO)
Description copied from interface: AOListMapper
Called before the element is deleted, gives the mapper a chance to clean up child objects

Specified by:
preDelete in interface AOListMapper<TrackingStatisticAO,StatisticsFieldConfig>
Specified by:
preDelete in class AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>

getExisting

public TrackingStatisticAO[] getExisting()
Description copied from interface: AOListMapper
Provides all existing T.

Specified by:
getExisting in interface AOListMapper<TrackingStatisticAO,StatisticsFieldConfig>
Specified by:
getExisting in class AbstractRelatedAOListMapper<RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>


Copyright © 2007-2012 Atlassian. All Rights Reserved.