com.atlassian.bamboo.resultsummary.vcs
Class RepositoryChangesetHibernateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
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
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryChangesetHibernateDao
public RepositoryChangesetHibernateDao()
findById
@Nullable
public RepositoryChangeset findById(long id)
- Specified by:
findById
in interface RepositoryChangesetDao
scrollChangesetsForExport
public long scrollChangesetsForExport(com.google.common.base.Function<RepositoryChangeset,java.lang.Void> function)
- Specified by:
scrollChangesetsForExport
in interface RepositoryChangesetDao
scrollRelevantChangesetsForExport
public long scrollRelevantChangesetsForExport(com.google.common.base.Function<RelevantChangeset,java.lang.Void> function)
- Specified by:
scrollRelevantChangesetsForExport
in interface RepositoryChangesetDao
saveRelevantChangesets
public void saveRelevantChangesets(java.util.List<RelevantChangeset> relevantChangesets)
- Specified by:
saveRelevantChangesets
in interface RepositoryChangesetDao
findChangesetByResultId
public RepositoryChangeset findChangesetByResultId(long resultsSummaryId)
- Specified by:
findChangesetByResultId
in interface RepositoryChangesetDao
- Returns:
removeRepositoryChangesets
public void removeRepositoryChangesets(RepositoryDataEntity repositoryDataEntity)
- Specified by:
removeRepositoryChangesets
in interface RepositoryChangesetDao
Copyright © 2012 Atlassian. All Rights Reserved.