Class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator
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
- All Implemented Interfaces:
AttachmentDao.AttachmentCopier,AttachmentDao.AttachmentMigrator
- Enclosing class:
- AbstractHibernateAttachmentDao
@Deprecated(forRemoval=true,
since="8.8")
public class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator
extends AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier
implements AttachmentDao.AttachmentMigrator
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.8, no replacement
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
destinationDaoFields inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
progress -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidmigrate()Deprecated, for removal: This API element is subject to removal in a future version.Perform the migrationMethods inherited from class com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier
copyMethods inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
getSpacesToInclude, isContentExcluded, isContentSpaceIncluded, isSpaceIncluded, setParentContentToExclude, setProgressMeter, setSpacesToIncludeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDao.AttachmentCopier
setParentContentToExclude, setProgressMeter, setSpacesToIncludeMethods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDao.AttachmentMigrator
setParentContentToExclude, setProgressMeter, setSpacesToInclude
-
Constructor Details
-
IntraHibernateAttachmentMigrator
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
migrate
public void migrate()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AttachmentDao.AttachmentMigratorPerform the migration- Specified by:
migratein interfaceAttachmentDao.AttachmentMigrator
-