com.atlassian.bamboo.commit
Class CommitHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.hibernate.HibernateObjectDao
              extended by com.atlassian.bamboo.persistence.BambooHibernateObjectDao
                  extended by com.atlassian.bamboo.commit.CommitHibernateDao
All Implemented Interfaces:
bucket.core.persistence.ObjectDao, CommitDao, BambooObjectDao, org.springframework.beans.factory.InitializingBean

public class CommitHibernateDao
extends BambooHibernateObjectDao
implements CommitDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CommitHibernateDao()
           
 
Method Summary
 java.lang.Class<CommitImpl> getPersistentClass()
           
 long scrollCommitsForExport(com.google.common.base.Function<Commit,java.lang.Void> function)
          Scroll through and execute function for each of Commit Objects passed to function are not fully initialized.
 
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao
executeCountQuery, executeReturnLong, findById, findById
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData
 
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.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

CommitHibernateDao

public CommitHibernateDao()
Method Detail

getPersistentClass

public java.lang.Class<CommitImpl> getPersistentClass()
Specified by:
getPersistentClass in interface bucket.core.persistence.ObjectDao

scrollCommitsForExport

public long scrollCommitsForExport(@NotNull
                                   com.google.common.base.Function<Commit,java.lang.Void> function)
Description copied from interface: CommitDao
Scroll through and execute function for each of Commit Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.

Specified by:
scrollCommitsForExport in interface CommitDao
Parameters:
function - function to be executed on each of the Commit
Returns:
number of traversed rows


Copyright © 2010 Atlassian. All Rights Reserved.