public class RepositoryChangesetHibernateDao extends BambooHibernateObjectDao<RepositoryChangeset> implements RepositoryChangesetDao
Constructor and Description |
---|
RepositoryChangesetHibernateDao() |
Modifier and Type | Method and Description |
---|---|
RepositoryChangeset |
findById(long id) |
List<RepositoryChangeset> |
getChangesetsForBuildNumberRange(PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber)
Finds and returns all repository change sets related with build results from specified range.
|
void |
removeRepositoryChangesets(RepositoryDataEntity repositoryDataEntity) |
void |
saveRelevantChangesets(List<RelevantChangeset> relevantChangesets) |
long |
scrollChangesetsForExport(Consumer<RepositoryChangeset> consumer) |
long |
scrollRelevantChangesetsForExport(Consumer<RelevantChangeset> consumer) |
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
@Nullable public RepositoryChangeset findById(long id)
findById
in interface RepositoryChangesetDao
public long scrollChangesetsForExport(Consumer<RepositoryChangeset> consumer)
scrollChangesetsForExport
in interface RepositoryChangesetDao
public long scrollRelevantChangesetsForExport(Consumer<RelevantChangeset> consumer)
scrollRelevantChangesetsForExport
in interface RepositoryChangesetDao
public void saveRelevantChangesets(List<RelevantChangeset> relevantChangesets)
saveRelevantChangesets
in interface RepositoryChangesetDao
public void removeRepositoryChangesets(RepositoryDataEntity repositoryDataEntity)
removeRepositoryChangesets
in interface RepositoryChangesetDao
public List<RepositoryChangeset> getChangesetsForBuildNumberRange(@NotNull PlanKey planKey, int firstBuildNumber, int lastBuildNumber)
RepositoryChangesetDao
getChangesetsForBuildNumberRange
in interface RepositoryChangesetDao
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.