Class CardColorDao
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<Long,CardColorAO>
com.atlassian.greenhopper.manager.color.CardColorDao
- All Implemented Interfaces:
RelatedEntityDao<Long,
RapidViewAO, CardColorAO, CardColor>
@Service
public class CardColorDao
extends GenericActiveObjectsDao<Long,CardColorAO>
implements RelatedEntityDao<Long,RapidViewAO,CardColorAO,CardColor>
-
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 rapidViewAO) Return all the records for the specified parent.getForParent
(Long primaryKey) Return all the records for the specified parent.updateForParent
(RapidViewAO rapidViewAO, List<CardColor> models) Set the list of domain objects onto the parent record.
-
Constructor Details
-
CardColorDao
public CardColorDao()
-
-
Method Details
-
getForParent
Description copied from interface:RelatedEntityDao
Return all the records for the specified parent.- Specified by:
getForParent
in interfaceRelatedEntityDao<Long,
RapidViewAO, CardColorAO, CardColor> - Parameters:
rapidViewAO
-- Returns:
- the records
-
getForParent
Description copied from interface:RelatedEntityDao
Return all the records for the specified parent.- Specified by:
getForParent
in interfaceRelatedEntityDao<Long,
RapidViewAO, CardColorAO, CardColor> - Parameters:
primaryKey
-- Returns:
- the records
-
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, CardColorAO, CardColor> - Parameters:
rapidViewAO
-models
-- 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, CardColorAO, CardColor> - Parameters:
rapidViewAO
-
-
update
-