com.atlassian.bamboo.persister
Class HibernateAuditLogDao

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<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
 void deleteAllAuditLogMessages()
           
 Collection<? extends AuditLogEntry> findAll()
           
 List<AuditLogEntry> getAgentAuditLogsMessagesByAgentName(String agentName)
           
 List<AuditLogEntry> getAuditLogMessagesForPlan(ImmutablePlan plan)
           
 List<AuditLogEntry> getAuditLogMessagesForPlan(ImmutablePlan plan, long startDate, long endDate)
           
 List<AuditLogEntry> getGlobalAuditLogMessages()
           
 
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

HibernateAuditLogDao

public HibernateAuditLogDao()
Method Detail

getAuditLogMessagesForPlan

public List<AuditLogEntry> getAuditLogMessagesForPlan(ImmutablePlan plan)
Specified by:
getAuditLogMessagesForPlan in interface AuditLogDao

getAuditLogMessagesForPlan

public List<AuditLogEntry> getAuditLogMessagesForPlan(@NotNull
                                                      ImmutablePlan plan,
                                                      long startDate,
                                                      long endDate)
Specified by:
getAuditLogMessagesForPlan in interface AuditLogDao

getGlobalAuditLogMessages

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

getAgentAuditLogsMessagesByAgentName

public List<AuditLogEntry> getAgentAuditLogsMessagesByAgentName(@NotNull
                                                                String agentName)
Specified by:
getAgentAuditLogsMessagesByAgentName in interface AuditLogDao

deleteAllAuditLogMessages

public void deleteAllAuditLogMessages()
Specified by:
deleteAllAuditLogMessages in interface AuditLogDao

findAll

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


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