public class PlanVcsRevisionHistoryHibernateStandaloneDao extends BambooHibernateObjectDao<PlanVcsRevisionHistoryItem> implements PlanVcsRevisionHistoryStandaloneDao
Constructor and Description |
---|
PlanVcsRevisionHistoryHibernateStandaloneDao() |
Modifier and Type | Method and Description |
---|---|
long |
scrollPlanVcsRevisionHistoryItemsForExport(Consumer<PlanVcsRevisionHistoryItem> consumer)
Scroll through and execute function for each of PlanVcsRevisionHistoryItem Objects passed to function are not
fully initialized.
|
void |
updateRepositoryIdForPlan(PlanKey planKey,
long oldRepositoryId,
long repositoryId)
Update all repository entries for PlanKey re-setting repository id in all of them.
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
public PlanVcsRevisionHistoryHibernateStandaloneDao()
public long scrollPlanVcsRevisionHistoryItemsForExport(@NotNull Consumer<PlanVcsRevisionHistoryItem> consumer)
PlanVcsRevisionHistoryStandaloneDao
scrollPlanVcsRevisionHistoryItemsForExport
in interface PlanVcsRevisionHistoryStandaloneDao
consumer
- consumer to be executed function to be executed on each of the TestClassResultspublic void updateRepositoryIdForPlan(@NotNull PlanKey planKey, long oldRepositoryId, long repositoryId)
PlanVcsRevisionHistoryStandaloneDao
updateRepositoryIdForPlan
in interface PlanVcsRevisionHistoryStandaloneDao
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.