com.atlassian.confluence.pages.persistence.dao
Class GeneralAttachmentCopier
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
com.atlassian.confluence.pages.persistence.dao.GeneralAttachmentCopier
- All Implemented Interfaces:
- AttachmentDao.AttachmentCopier
- Direct Known Subclasses:
- GeneralAttachmentMigrator
public class GeneralAttachmentCopier
- extends AbstractAttachmentCopier
- implements AttachmentDao.AttachmentCopier
This AttachmentCopier copies Attachments from one AttachmentManager instance to another, in the
case where there are different storage implementations for data and/or meta-data.
If the same AttachmentManager and meta-data storage is being used, the AttachmentCopier at the
AttachmentDao level should be used instead.
- See Also:
AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier
Method Summary |
void |
copy()
Perform the copy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceAttachmentManager
protected AttachmentManager sourceAttachmentManager
destinationAttachmentManager
protected AttachmentManager destinationAttachmentManager
GeneralAttachmentCopier
public GeneralAttachmentCopier(AttachmentManager sourceAttachmentManager,
AttachmentManager destinationAttachmentManager)
copy
public void copy()
- Description copied from interface:
AttachmentDao.AttachmentCopier
- Perform the copy
- Specified by:
copy
in interface AttachmentDao.AttachmentCopier