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.
destinationDao
progress
Modifier | Constructor and Description |
---|---|
protected |
IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao) |
Modifier and Type | Method and Description |
---|---|
void |
migrate()
Perform the migration
|
copy
getSpacesToInclude, isContentExcluded, isContentSpaceIncluded, isSpaceIncluded, setParentContentToExclude, setProgressMeter, setSpacesToInclude
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setParentContentToExclude, setProgressMeter, setSpacesToInclude
setParentContentToExclude, setProgressMeter, setSpacesToInclude
protected IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao)
public void migrate()
AttachmentDao.AttachmentMigrator
migrate
in interface AttachmentDao.AttachmentMigrator
Copyright © 2003–2016 Atlassian. All rights reserved.