|
||||||||||
| 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<Attachment>
com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao
com.atlassian.confluence.pages.persistence.dao.hibernate.NonTransactionalHibernateAttachmentDao
public class NonTransactionalHibernateAttachmentDao
Non-transactional version of the AbstractHibernateAttachmentDao, which removes all attachment data from the data store after removing the attachments from the database.
AbstractHibernateAttachmentDao| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao |
|---|
AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier, AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator |
| Nested classes/interfaces inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDao |
|---|
AttachmentDao.AttachmentCopier, AttachmentDao.AttachmentMigrator |
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao |
|---|
dataDao |
| 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 | |
|---|---|
NonTransactionalHibernateAttachmentDao()
|
|
| Method Summary | |
|---|---|
void |
removeAttachmentFromServer(Attachment attachment)
Removes attachment (and all of its versions) |
protected void |
removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
Attachment previousAttachmentVersion)
|
void |
setDataDao(NonTransactionalAttachmentDataDao dao)
|
| Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, setConfluenceUserDao, updateModificationData |
| 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.pages.persistence.dao.AttachmentDao |
|---|
findAll, findLatestVersionsIterator |
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw |
| Constructor Detail |
|---|
public NonTransactionalHibernateAttachmentDao()
| Method Detail |
|---|
public void setDataDao(NonTransactionalAttachmentDataDao dao)
public void removeAttachmentFromServer(Attachment attachment)
AttachmentDao
attachment - the Attachment to be removed
protected void removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
Attachment previousAttachmentVersion)
removeAttachmentVersionFromServer in class AbstractHibernateAttachmentDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||