|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator
public class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator
This attachment migrator will migrate attachment streams from the current instance of AbstractHibernateAttachmentDao to another.
Since the store for the metadata is the same (the database), we can safely shift the data from the different AttachmentDataDao implementations without having to update the metadata itself.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier |
---|
destinationDao |
Fields inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier |
---|
progress |
Constructor Summary | |
---|---|
protected |
AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao)
|
Method Summary | |
---|---|
void |
migrate()
Perform the migration |
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier |
---|
copy |
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier |
---|
getSpacesToInclude, isContentExcluded, isContentSpaceIncluded, isSpaceIncluded, setParentContentToExclude, setProgressMeter, setSpacesToInclude |
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.AttachmentMigrator |
---|
setParentContentToExclude, setProgressMeter, setSpacesToInclude |
Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDao.AttachmentCopier |
---|
setParentContentToExclude, setProgressMeter, setSpacesToInclude |
Constructor Detail |
---|
protected AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao)
Method Detail |
---|
public void migrate()
AttachmentDao.AttachmentMigrator
migrate
in interface AttachmentDao.AttachmentMigrator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |