Class RepositoryChangesetHibernateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<RepositoryChangeset>
com.atlassian.bamboo.resultsummary.vcs.RepositoryChangesetHibernateDao
- All Implemented Interfaces:
BambooObjectDao<RepositoryChangeset>,RepositoryChangesetDao,org.springframework.beans.factory.InitializingBean
public class RepositoryChangesetHibernateDao
extends BambooHibernateObjectDao<RepositoryChangeset>
implements RepositoryChangesetDao
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable RepositoryChangesetfindById(long id) getChangesetsForBuildNumberRange(@NotNull PlanKey planKey, int firstBuildNumber, int lastBuildNumber) Finds and returns all repository change sets related with build results from specified range.voidremoveRepositoryChangesets(RepositoryDataEntity repositoryDataEntity) voidsaveRelevantChangesets(List<RelevantChangeset> relevantChangesets) longscrollChangesetsForExport(Consumer<RepositoryChangeset> consumer) longMethods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAllMethods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplateMethods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Constructor Details
-
RepositoryChangesetHibernateDao
public RepositoryChangesetHibernateDao()
-
-
Method Details
-
findById
- Specified by:
findByIdin interfaceRepositoryChangesetDao
-
scrollChangesetsForExport
- Specified by:
scrollChangesetsForExportin interfaceRepositoryChangesetDao
-
scrollRelevantChangesetsForExport
- Specified by:
scrollRelevantChangesetsForExportin interfaceRepositoryChangesetDao
-
saveRelevantChangesets
- Specified by:
saveRelevantChangesetsin interfaceRepositoryChangesetDao
-
removeRepositoryChangesets
- Specified by:
removeRepositoryChangesetsin interfaceRepositoryChangesetDao
-
getChangesetsForBuildNumberRange
public List<RepositoryChangeset> getChangesetsForBuildNumberRange(@NotNull @NotNull PlanKey planKey, int firstBuildNumber, int lastBuildNumber) Description copied from interface:RepositoryChangesetDaoFinds and returns all repository change sets related with build results from specified range. Once off results are skipped.- Specified by:
getChangesetsForBuildNumberRangein interfaceRepositoryChangesetDao- Returns:
-