com.atlassian.greenhopper.service.rapid.view
Class SwimlaneDao
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,SwimlaneAO>
com.atlassian.greenhopper.service.rapid.view.SwimlaneDao
- All Implemented Interfaces:
- RelatedEntityDao<java.lang.Long,RapidViewAO,SwimlaneAO,Swimlane>
@Service
public class SwimlaneDao
- extends GenericActiveObjectsDao<java.lang.Long,SwimlaneAO>
- implements RelatedEntityDao<java.lang.Long,RapidViewAO,SwimlaneAO,Swimlane>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwimlaneDao
public SwimlaneDao()
getSwimlane
public SwimlaneAO getSwimlane(long rapidViewId,
long swimlaneId)
getForParent
public SwimlaneAO[] getForParent(RapidViewAO parent)
- Description copied from interface:
RelatedEntityDao
- Return all the records for the specified parent.
- Specified by:
getForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,SwimlaneAO,Swimlane>
- Returns:
- the records
getForParent
public SwimlaneAO[] 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,SwimlaneAO,Swimlane>
- Returns:
- the records
updateSwimlane
public SwimlaneAO updateSwimlane(Swimlane swimlane,
ErrorCollection errors)
updateForParent
public java.util.List<SwimlaneAO> updateForParent(RapidViewAO rapidViewAO,
java.util.List<Swimlane> swimlanes)
- 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,SwimlaneAO,Swimlane>
- Returns:
- the updated list of domain objects
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,SwimlaneAO,Swimlane>
Copyright © 2007-2014 Atlassian. All Rights Reserved.