Class SwimlaneDao
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<Long,SwimlaneAO>
com.atlassian.greenhopper.service.rapid.view.SwimlaneDao
- All Implemented Interfaces:
RelatedEntityDao<Long,
RapidViewAO, SwimlaneAO, Swimlane>
@Service
public class SwimlaneDao
extends GenericActiveObjectsDao<Long,SwimlaneAO>
implements RelatedEntityDao<Long,RapidViewAO,SwimlaneAO,Swimlane>
-
Field Summary
Fields inherited from class com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao
ao, entityType, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteForParent
(RapidViewAO rapidViewAO) Delete all records for specified parent.getForParent
(RapidViewAO parent) Return all the records for the specified parent.getForParent
(Long rapidViewId) Return all the records for the specified parent.getSwimlane
(long rapidViewId, long swimlaneId) updateForParent
(RapidViewAO rapidViewAO, List<Swimlane> swimlanes) Set the list of domain objects onto the parent record.updateSwimlane
(Swimlane swimlane, ErrorCollection errors)
-
Constructor Details
-
SwimlaneDao
public SwimlaneDao()
-
-
Method Details
-
getSwimlane
-
getForParent
Description copied from interface:RelatedEntityDao
Return all the records for the specified parent.- Specified by:
getForParent
in interfaceRelatedEntityDao<Long,
RapidViewAO, SwimlaneAO, Swimlane> - Returns:
- the records
-
getForParent
Description copied from interface:RelatedEntityDao
Return all the records for the specified parent.- Specified by:
getForParent
in interfaceRelatedEntityDao<Long,
RapidViewAO, SwimlaneAO, Swimlane> - Returns:
- the records
-
updateSwimlane
-
updateForParent
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 interfaceRelatedEntityDao<Long,
RapidViewAO, SwimlaneAO, Swimlane> - Returns:
- the updated list of domain objects
-
deleteForParent
Description copied from interface:RelatedEntityDao
Delete all records for specified parent.- Specified by:
deleteForParent
in interfaceRelatedEntityDao<Long,
RapidViewAO, SwimlaneAO, Swimlane>
-