Interface PlanVcsRevisionHistoryStandaloneDao
-
- All Superinterfaces:
BambooObjectDao<PlanVcsRevisionHistoryItem>
- All Known Implementing Classes:
PlanVcsRevisionHistoryHibernateStandaloneDao
@Internal public interface PlanVcsRevisionHistoryStandaloneDao extends BambooObjectDao<PlanVcsRevisionHistoryItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
scrollPlanVcsRevisionHistoryItemsForExport(@NotNull Consumer<PlanVcsRevisionHistoryItem> consumer)
Scroll through and execute function for each of PlanVcsRevisionHistoryItem Objects passed to function are not fully initialized.void
updateRepositoryIdForPlan(@NotNull PlanKey planKey, long oldRepositoryId, long repositoryId)
Update all repository entries for PlanKey re-setting repository id in all of them.-
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
-
-
-
Method Detail
-
scrollPlanVcsRevisionHistoryItemsForExport
long scrollPlanVcsRevisionHistoryItemsForExport(@NotNull @NotNull Consumer<PlanVcsRevisionHistoryItem> consumer)
Scroll through and execute function for each of PlanVcsRevisionHistoryItem Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.- Parameters:
consumer
- consumer to be executed function to be executed on each of the TestClassResults- Returns:
- number of traversed rows
-
updateRepositoryIdForPlan
void updateRepositoryIdForPlan(@NotNull @NotNull PlanKey planKey, long oldRepositoryId, long repositoryId)
Update all repository entries for PlanKey re-setting repository id in all of them. Used in upgrade task.- Parameters:
planKey
-repositoryId
-
-
-