Class GeneralAttachmentCopier
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
com.atlassian.confluence.pages.persistence.dao.GeneralAttachmentCopier
- All Implemented Interfaces:
AttachmentDao.AttachmentCopier
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.
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
progress
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralAttachmentCopier
(AttachmentManagerInternal sourceAttachmentManager, AttachmentManager destinationAttachmentManager) -
Method Summary
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
getSpacesToInclude, isContentExcluded, isContentSpaceIncluded, isSpaceIncluded, setParentContentToExclude, setProgressMeter, setSpacesToInclude
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDao.AttachmentCopier
setParentContentToExclude, setProgressMeter, setSpacesToInclude
-
Field Details
-
sourceAttachmentManager
-
destinationAttachmentManager
-
-
Constructor Details
-
GeneralAttachmentCopier
public GeneralAttachmentCopier(AttachmentManagerInternal sourceAttachmentManager, AttachmentManager destinationAttachmentManager)
-
-
Method Details
-
copy
public void copy()Description copied from interface:AttachmentDao.AttachmentCopier
Perform the copy- Specified by:
copy
in interfaceAttachmentDao.AttachmentCopier
-