com.atlassian.bamboo.persister
Class HibernateAuditLogDao

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<AuditLogEntry>
              extended by com.atlassian.bamboo.persister.HibernateAuditLogDao
All Implemented Interfaces:
BambooObjectDao<AuditLogEntry>, AuditLogDao, org.springframework.beans.factory.InitializingBean

public class HibernateAuditLogDao
extends BambooHibernateObjectDao<AuditLogEntry>
implements AuditLogDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateAuditLogDao()
           
 
Method Summary
 java.util.List<AuditLogEntry> deleteAllAuditLogMessages()
           
 java.util.Collection<? extends AuditLogEntry> findAll()
           
 java.util.List<AuditLogEntry> getAuditLogMessagesForPlan(Plan plan)
           
 java.util.List<AuditLogEntry> getAuditLogMessagesForPlan(Plan plan, long startDate, long endDate)
           
 java.util.List<AuditLogEntry> getGlobalAuditLogMessages()
           
 
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
delete, deleteAll, 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

HibernateAuditLogDao

public HibernateAuditLogDao()
Method Detail

getAuditLogMessagesForPlan

public java.util.List<AuditLogEntry> getAuditLogMessagesForPlan(Plan plan)
Specified by:
getAuditLogMessagesForPlan in interface AuditLogDao

getAuditLogMessagesForPlan

public java.util.List<AuditLogEntry> getAuditLogMessagesForPlan(Plan plan,
                                                                long startDate,
                                                                long endDate)
Specified by:
getAuditLogMessagesForPlan in interface AuditLogDao

getGlobalAuditLogMessages

public java.util.List<AuditLogEntry> getGlobalAuditLogMessages()
Specified by:
getGlobalAuditLogMessages in interface AuditLogDao

deleteAllAuditLogMessages

public java.util.List<AuditLogEntry> deleteAllAuditLogMessages()
Specified by:
deleteAllAuditLogMessages in interface AuditLogDao

findAll

@NotNull
public java.util.Collection<? extends AuditLogEntry> findAll()
Specified by:
findAll in interface AuditLogDao


Copyright © 2011 Atlassian. All Rights Reserved.