com.atlassian.bamboo.build
Class BuildNumberGeneratorDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.build.BuildNumberGeneratorDaoImpl
All Implemented Interfaces:
BuildNumberGeneratorDao, org.springframework.beans.factory.InitializingBean

public class BuildNumberGeneratorDaoImpl
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements BuildNumberGeneratorDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BuildNumberGeneratorDaoImpl()
           
 
Method Summary
 int generateBuildNumberNewTx(java.lang.String planKey)
           
 void updateJobsBuildNumbersNewTx(java.util.Set<PlanKey> jobKeys, PlanKey chainKey)
           
 
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
 

Constructor Detail

BuildNumberGeneratorDaoImpl

public BuildNumberGeneratorDaoImpl()
Method Detail

generateBuildNumberNewTx

public int generateBuildNumberNewTx(java.lang.String planKey)
Specified by:
generateBuildNumberNewTx in interface BuildNumberGeneratorDao

updateJobsBuildNumbersNewTx

public void updateJobsBuildNumbersNewTx(@NotNull
                                        java.util.Set<PlanKey> jobKeys,
                                        @NotNull
                                        PlanKey chainKey)
Specified by:
updateJobsBuildNumbersNewTx in interface BuildNumberGeneratorDao


Copyright © 2012 Atlassian. All Rights Reserved.