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