Class SchedulerRunDetailsDao
java.lang.Object
org.springframework.dao.support.DaoSupport
com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<T>
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao<SchedulerRunDetails>
com.atlassian.confluence.impl.schedule.caesium.SchedulerRunDetailsDao
- All Implemented Interfaces:
com.atlassian.scheduler.core.spi.RunDetailsDao
,org.springframework.beans.factory.InitializingBean
@Transactional
public class SchedulerRunDetailsDao
extends ConfluenceHibernateObjectDao<SchedulerRunDetails>
implements com.atlassian.scheduler.core.spi.RunDetailsDao
- Since:
- 5.10
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
HibernateObjectDao.Cacheability
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRunDetails
(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails) com.atlassian.scheduler.status.RunDetails
getLastRunForJob
(com.atlassian.scheduler.config.JobId jobId) Map<com.atlassian.scheduler.config.JobId,
com.atlassian.scheduler.status.RunDetails> getLastRunForJobs
(List<com.atlassian.scheduler.config.JobId> jobIds) com.atlassian.scheduler.status.RunDetails
getLastSuccessfulRunForJob
(com.atlassian.scheduler.config.JobId jobId) Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
updateModificationData
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSessionFactory, publishEvent, reIndex, remove, save, saveEntity, saveRaw, setHibernateTemplate, setSessionFactory, uniqueResult
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
SchedulerRunDetailsDao
public SchedulerRunDetailsDao()
-
-
Method Details
-
getPersistentClass
- Specified by:
getPersistentClass
in classHibernateObjectDao<SchedulerRunDetails>
-
getLastRunForJob
public com.atlassian.scheduler.status.RunDetails getLastRunForJob(com.atlassian.scheduler.config.JobId jobId) - Specified by:
getLastRunForJob
in interfacecom.atlassian.scheduler.core.spi.RunDetailsDao
-
getLastSuccessfulRunForJob
public com.atlassian.scheduler.status.RunDetails getLastSuccessfulRunForJob(com.atlassian.scheduler.config.JobId jobId) - Specified by:
getLastSuccessfulRunForJob
in interfacecom.atlassian.scheduler.core.spi.RunDetailsDao
-
getLastRunForJobs
public Map<com.atlassian.scheduler.config.JobId,com.atlassian.scheduler.status.RunDetails> getLastRunForJobs(List<com.atlassian.scheduler.config.JobId> jobIds) - Specified by:
getLastRunForJobs
in interfacecom.atlassian.scheduler.core.spi.RunDetailsDao
-
addRunDetails
public void addRunDetails(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails) - Specified by:
addRunDetails
in interfacecom.atlassian.scheduler.core.spi.RunDetailsDao
-