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