com.atlassian.greenhopper.manager.workingdays
Class WorkingDaysDao
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,WorkingDaysAO>
com.atlassian.greenhopper.manager.workingdays.WorkingDaysDao
- All Implemented Interfaces:
- RelatedEntityDao<java.lang.Long,RapidViewAO,WorkingDaysAO,WorkingDaysConfig>
@Service
public class WorkingDaysDao
- extends GenericActiveObjectsDao<java.lang.Long,WorkingDaysAO>
- implements RelatedEntityDao<java.lang.Long,RapidViewAO,WorkingDaysAO,WorkingDaysConfig>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkingDaysDao
public WorkingDaysDao()
getForParent
@NotNull
public WorkingDaysAO[] 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,WorkingDaysAO,WorkingDaysConfig>
- Returns:
- the records
getForParent
public WorkingDaysAO[] getForParent(java.lang.Long primaryKey)
- Description copied from interface:
RelatedEntityDao
- Return all the records for the specified parent.
- Specified by:
getForParent
in interface RelatedEntityDao<java.lang.Long,RapidViewAO,WorkingDaysAO,WorkingDaysConfig>
- Returns:
- the records
getOne
public WorkingDaysAO getOne(java.lang.Long rapidViewId)
updateForParent
@NotNull
public java.util.List<WorkingDaysAO> updateForParent(RapidViewAO rapidViewAO,
java.util.List<WorkingDaysConfig> 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 interface RelatedEntityDao<java.lang.Long,RapidViewAO,WorkingDaysAO,WorkingDaysConfig>
- Returns:
- the updated list of domain objects
updateOne
@NotNull
public WorkingDaysAO updateOne(RapidViewAO rapidViewAO,
WorkingDaysConfig workingDaysConfig)
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,WorkingDaysAO,WorkingDaysConfig>
preDelete
protected void preDelete(WorkingDaysAO... entities)
- Overrides:
preDelete
in class GenericActiveObjectsDao<java.lang.Long,WorkingDaysAO>
Copyright © 2007-2014 Atlassian. All Rights Reserved.