|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao
com.atlassian.confluence.content.render.xhtml.migration.MigrationPageTemplateDao
public class MigrationPageTemplateDao
Overrides the default behaviour to prevent the last modified user being changed when migrating.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
cacheFactory, confluenceUserDao |
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
MigrationPageTemplateDao()
|
|
| Method Summary | |
|---|---|
protected void |
updateModificationData(com.atlassian.core.bean.EntityObject objectToSave)
Perform any modifications that need to be done to an object every time it is saved. |
| Methods inherited from class com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao |
|---|
findAllGlobalPageTemplates, findCustomisedPluginTemplate, findLatestVersions, findPageTemplateByName, findPageTemplateByNameAndSpace, findPreviousVersions, getById, getPersistentClass |
| Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, setConfluenceUserDao |
| 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.confluence.core.persistence.VersionedObjectDao |
|---|
findLatestVersionsCount, findLatestVersionsIterator, save |
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, findAllSorted, refresh, remove, replicate, save, saveRaw |
| Constructor Detail |
|---|
public MigrationPageTemplateDao()
| Method Detail |
|---|
protected void updateModificationData(com.atlassian.core.bean.EntityObject objectToSave)
HibernateObjectDao
updateModificationData in class VersionedHibernateObjectDaoobjectToSave - the object that is about to be saved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||