com.atlassian.greenhopper.manager.estimatestatistic
Class EstimateStatisticAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>
      extended by com.atlassian.greenhopper.manager.estimatestatistic.EstimateStatisticAOListMapper
All Implemented Interfaces:
AOListMapper<EstimateStatisticAO,StatisticsFieldConfig>

public class EstimateStatisticAOListMapper
extends AbstractRelatedAOListMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>

An AOListMapper for EstimateStatisticAO records.

Since:
v5.9.5

Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Constructor Summary
EstimateStatisticAOListMapper(RapidViewAO rapidViewAO, EstimateStatisticAOMapper mapper)
           
 
Method Summary
 java.lang.Class<EstimateStatisticAO> getActiveObjectClass()
          Get the class of T
 EstimateStatisticAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(EstimateStatisticAO recordAO, StatisticsFieldConfig estimateStatistic)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(EstimateStatisticAO 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, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EstimateStatisticAOListMapper

public EstimateStatisticAOListMapper(RapidViewAO rapidViewAO,
                                     EstimateStatisticAOMapper mapper)
Method Detail

getActiveObjectClass

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

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

postCreateUpdate

public void postCreateUpdate(EstimateStatisticAO 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<EstimateStatisticAO,StatisticsFieldConfig>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>

preDelete

public void preDelete(EstimateStatisticAO 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<EstimateStatisticAO,StatisticsFieldConfig>
Specified by:
preDelete in class AbstractRelatedAOListMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>

getExisting

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

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


Copyright © 2007-2012 Atlassian. All Rights Reserved.