com.atlassian.greenhopper.manager.trackingstatistic
Class TrackingStatisticDao
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,TrackingStatisticAO>
com.atlassian.greenhopper.manager.trackingstatistic.TrackingStatisticDao
- All Implemented Interfaces:
- RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
@Service
public class TrackingStatisticDao
- extends GenericActiveObjectsDao<java.lang.Long,TrackingStatisticAO>
- implements RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
DAO for TrackingStatisticAO
records.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackingStatisticDao
public TrackingStatisticDao()
getForParent
@NotNull
public TrackingStatisticAO[] getForParent(RapidViewAO rapidViewAO)
- Description copied from interface:
RelatedEntityDao
- Return all the records for the specified parent.
- Specified by:
getForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
- Returns:
- the records
getForParent
public TrackingStatisticAO[] getForParent(java.lang.Long primaryKey)
- Description copied from interface:
RelatedEntityDao
- Return all the records for the specified parent.
- Specified by:
getForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
- Returns:
- the records
getOne
public TrackingStatisticAO getOne(java.lang.Long rapidViewId)
updateForParent
@NotNull
public java.util.List<TrackingStatisticAO> updateForParent(RapidViewAO rapidViewAO,
java.util.List<StatisticsFieldConfig> models)
- Description copied from interface:
RelatedEntityDao
- Set the list of domain objects onto the parent record. This will create new or updated existing records as necessary.
- Specified by:
updateForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
- Returns:
- the updated list of domain objects
updateOne
@NotNull
public TrackingStatisticAO updateOne(RapidViewAO rapidViewAO,
StatisticsFieldConfig trackingStatistic)
deleteForParent
public void deleteForParent(RapidViewAO rapidViewAO)
- Description copied from interface:
RelatedEntityDao
- Delete all records for specified parent.
- Specified by:
deleteForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,TrackingStatisticAO,StatisticsFieldConfig>
Copyright © 2007-2012 Atlassian. All Rights Reserved.