public class RepositoryChangesetHibernateDao extends BambooHibernateObjectDao<RepositoryChangeset> implements RepositoryChangesetDao
Constructor and Description |
---|
RepositoryChangesetHibernateDao() |
Modifier and Type | Method and Description |
---|---|
RepositoryChangeset |
findById(long id) |
RepositoryChangeset |
findChangesetByResultId(long resultsSummaryId) |
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(com.google.common.base.Function<RepositoryChangeset,Void> function) |
long |
scrollRelevantChangesetsForExport(com.google.common.base.Function<RelevantChangeset,Void> function) |
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
@Nullable public RepositoryChangeset findById(long id)
findById
in interface RepositoryChangesetDao
public long scrollChangesetsForExport(com.google.common.base.Function<RepositoryChangeset,Void> function)
scrollChangesetsForExport
in interface RepositoryChangesetDao
public long scrollRelevantChangesetsForExport(com.google.common.base.Function<RelevantChangeset,Void> function)
scrollRelevantChangesetsForExport
in interface RepositoryChangesetDao
public void saveRelevantChangesets(List<RelevantChangeset> relevantChangesets)
saveRelevantChangesets
in interface RepositoryChangesetDao
public RepositoryChangeset findChangesetByResultId(long resultsSummaryId)
findChangesetByResultId
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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.