com.atlassian.greenhopper.service.rapid.view.subquery
Class SubqueryDao
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,SubqueryAO>
com.atlassian.greenhopper.service.rapid.view.subquery.SubqueryDao
- All Implemented Interfaces:
- RelatedEntityDao<java.lang.Long,RapidViewAO,SubqueryAO,Subquery>
@Service
public class SubqueryDao
- extends GenericActiveObjectsDao<java.lang.Long,SubqueryAO>
- implements RelatedEntityDao<java.lang.Long,RapidViewAO,SubqueryAO,Subquery>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubqueryDao
public SubqueryDao()
getForParent
public SubqueryAO[] 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,SubqueryAO,Subquery>
- Returns:
- the records
getForParent
public SubqueryAO[] getForParent(java.lang.Long rapidViewId)
- Description copied from interface:
RelatedEntityDao
- Return all the records for the specified parent.
- Specified by:
getForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,SubqueryAO,Subquery>
- Returns:
- the records
updateForParent
public java.util.List<SubqueryAO> updateForParent(RapidViewAO rapidViewAO,
java.util.List<Subquery> subqueries)
- 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,SubqueryAO,Subquery>
- Returns:
- the updated list of domain objects
findByRapidViewAndSection
public SubqueryAO findByRapidViewAndSection(RapidView rapidView,
Subquery.Section section)
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,SubqueryAO,Subquery>
Copyright © 2007-2014 Atlassian. All Rights Reserved.