com.atlassian.bamboo.plan.branch
Class VcsBranchHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<BambooVcsBranch>
              extended by com.atlassian.bamboo.plan.branch.VcsBranchHibernateDao
All Implemented Interfaces:
BambooObjectDao<BambooVcsBranch>, VcsBranchDao, org.springframework.beans.factory.InitializingBean

public class VcsBranchHibernateDao
extends BambooHibernateObjectDao<BambooVcsBranch>
implements VcsBranchDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
VcsBranchHibernateDao()
           
 
Method Summary
 void deleteAll(Chain chain)
           
 java.util.List<BambooVcsBranch> findByChain(Chain chain)
          Cannot pass ImmutableChain here because this method associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.
 
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
delete, deleteAll, executeFind, executeReturnLong, findAll, findById, save, saveAll
 
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
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll
 

Constructor Detail

VcsBranchHibernateDao

public VcsBranchHibernateDao()
Method Detail

findByChain

public java.util.List<BambooVcsBranch> findByChain(@NotNull
                                                   Chain chain)
Cannot pass ImmutableChain here because this method associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.

Specified by:
findByChain in interface VcsBranchDao
Parameters:
chain -
Returns:

deleteAll

public void deleteAll(Chain chain)
Specified by:
deleteAll in interface VcsBranchDao


Copyright © 2012 Atlassian. All Rights Reserved.