Class HibernateZduStatusDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<ZduStatusEntity>
-
- com.atlassian.confluence.internal.persistence.hibernate.HibernateZduStatusDao
-
- All Implemented Interfaces:
ObjectDao
,ObjectDaoInternal<ZduStatusEntity>
,ZduStatusDao
,org.springframework.beans.factory.InitializingBean
public class HibernateZduStatusDao extends HibernateObjectDao<ZduStatusEntity> implements ZduStatusDao
Manage the ZduStatusEntity table. This table contains at most one row, with an id of 1- Since:
- 7.9
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
HibernateObjectDao.Cacheability
-
-
Constructor Summary
Constructors Constructor Description HibernateZduStatusDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteStatus()
Class<ZduStatusEntity>
getPersistentClass()
Gets the type ofEntityObject
this Dao works with.Optional<ZduStatusEntity>
getStatus()
void
setStatus(ZduStatusEntity state)
-
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult, updateEntityModificationData, updateModificationData
-
-
-
-
Method Detail
-
getPersistentClass
public Class<ZduStatusEntity> getPersistentClass()
Description copied from interface:ObjectDaoInternal
Gets the type ofEntityObject
this Dao works with.- Specified by:
getPersistentClass
in interfaceObjectDao
- Specified by:
getPersistentClass
in interfaceObjectDaoInternal<ZduStatusEntity>
- Returns:
- the type
-
deleteStatus
public void deleteStatus()
- Specified by:
deleteStatus
in interfaceZduStatusDao
-
getStatus
public Optional<ZduStatusEntity> getStatus()
- Specified by:
getStatus
in interfaceZduStatusDao
-
setStatus
public void setStatus(ZduStatusEntity state)
- Specified by:
setStatus
in interfaceZduStatusDao
-
-