public class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator extends AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier implements AttachmentDao.AttachmentMigrator
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.
destinationDaoprogress| Modifier | Constructor and Description |
|---|---|
protected |
IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao) |
| Modifier and Type | Method and Description |
|---|---|
void |
migrate()
Perform the migration
|
copygetSpacesToInclude, isContentExcluded, isContentSpaceIncluded, isSpaceIncluded, setParentContentToExclude, setProgressMeter, setSpacesToIncludeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetParentContentToExclude, setProgressMeter, setSpacesToIncludesetParentContentToExclude, setProgressMeter, setSpacesToIncludeprotected IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao)
public void migrate()
AttachmentDao.AttachmentMigratormigrate in interface AttachmentDao.AttachmentMigratorCopyright © 2003–2022 Atlassian. All rights reserved.