Class ConfluenceHibernateObjectDao<T extends ConfluenceEntityObject>
java.lang.Object
org.springframework.dao.support.DaoSupport
com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<T>
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao<T>
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
ContentPermissionHibernateDao
,HibernateInternalRunDetailsDao
,HibernateLinkDao
,HibernateNotificationDao
,HibernateSpaceDao
,HibernateSpacePermissionDao
,SchedulerClusteredJobDao
,SchedulerRunDetailsDao
,VersionedHibernateObjectDao
public abstract class ConfluenceHibernateObjectDao<T extends ConfluenceEntityObject>
extends HibernateObjectDao<T>
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
updateModificationData
(T entityObject) Perform any modifications that need to be done to an object every time it is saved.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, getPersistentClass, getSessionFactory, publishEvent, reIndex, remove, save, saveEntity, saveRaw, setHibernateTemplate, setSessionFactory, uniqueResult
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
ConfluenceHibernateObjectDao
public ConfluenceHibernateObjectDao()
-
-
Method Details
-
updateModificationData
Description copied from class:HibernateObjectDao
Perform any modifications that need to be done to an object every time it is saved. The default implementation updates the last-modified timestamp, and sets the creation timestamp if it has not yet been set.- Overrides:
updateModificationData
in classHibernateObjectDao<T extends ConfluenceEntityObject>
- Parameters:
entityObject
- the object that is about to be saved
-