com.atlassian.bamboo.chains
Class ChainStageHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
              extended by com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<ChainStage>
                  extended by com.atlassian.bamboo.chains.ChainStageHibernateDao
All Implemented Interfaces:
ChainStageDao, BambooObjectDao<ChainStage>, org.springframework.beans.factory.InitializingBean

public class ChainStageHibernateDao
extends BambooHibernateObjectDao<ChainStage>
implements ChainStageDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ChainStageHibernateDao()
           
 
Method Summary
 long getChainStageCount()
           
 com.google.common.collect.Multimap<PlanKey,Long> getChainStagesMarkedForDeletion()
           
 long getManualChainStageCount()
           
 
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
 
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
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
 

Constructor Detail

ChainStageHibernateDao

public ChainStageHibernateDao()
Method Detail

getChainStagesMarkedForDeletion

@NotNull
public com.google.common.collect.Multimap<PlanKey,Long> getChainStagesMarkedForDeletion()
Specified by:
getChainStagesMarkedForDeletion in interface ChainStageDao
Returns:
all ChainStages that are marked as deleted

getChainStageCount

public long getChainStageCount()
Specified by:
getChainStageCount in interface ChainStageDao
Returns:
the total number of ChainStages (Stages) that exist on the bamboo instance

getManualChainStageCount

public long getManualChainStageCount()
Specified by:
getManualChainStageCount in interface ChainStageDao
Returns:
the total number of ChainStages (Stages) that exist on the bamboo instance that are marked as manual


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.