|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate3.support.HibernateDaoSupport com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport com.atlassian.bamboo.deployments.versions.persistence.commits.DeploymentVersionVcsCommitDaoImpl
public class DeploymentVersionVcsCommitDaoImpl
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
DeploymentVersionVcsCommitDaoImpl()
|
Method Summary | |
---|---|
int |
getCommitsCountForVersion(long deploymentVersionId)
|
List<MutableDeploymentVersionVcsCommitImpl> |
getCommitsForVersion(long deploymentVersionId,
int maxCommits)
Aggregates DeploymentVersionVcsCommit from all DeploymentVersionVcsChangeset associated with a DeploymentVersion |
long |
scrollCommitsForExport(com.google.common.base.Function<MutableDeploymentVersionVcsCommit,Void> function)
Scroll through and execute function for each of MutableDeploymentVersionVcsCommitImpl Objects passed to function are not fully initialized. |
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport |
---|
getCacheAwareHibernateTemplate |
Methods inherited from class org.springframework.orm.hibernate3.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 |
Constructor Detail |
---|
public DeploymentVersionVcsCommitDaoImpl()
Method Detail |
---|
public List<MutableDeploymentVersionVcsCommitImpl> getCommitsForVersion(long deploymentVersionId, int maxCommits)
DeploymentVersionVcsCommitDao
DeploymentVersionVcsCommit
from all DeploymentVersionVcsChangeset
associated with a DeploymentVersion
getCommitsForVersion
in interface DeploymentVersionVcsCommitDao
maxCommits
- maximum number of commits
DeploymentVersion
public int getCommitsCountForVersion(long deploymentVersionId)
getCommitsCountForVersion
in interface DeploymentVersionVcsCommitDao
DeploymentVersion
public long scrollCommitsForExport(@NotNull com.google.common.base.Function<MutableDeploymentVersionVcsCommit,Void> function)
DeploymentVersionVcsCommitDao
scrollCommitsForExport
in interface DeploymentVersionVcsCommitDao
function
- function to be executed on each of the MutableDeploymentVersionVcsCommitImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |