public class GeneralAttachmentCopier extends AbstractAttachmentCopier implements AttachmentDao.AttachmentCopier
If the same AttachmentManager and meta-data storage is being used, the AttachmentCopier at the AttachmentDao level should be used instead.
Modifier and Type | Field and Description |
---|---|
protected AttachmentManager |
destinationAttachmentManager |
protected AttachmentManager |
sourceAttachmentManager |
progress
Constructor and Description |
---|
GeneralAttachmentCopier(AttachmentManager sourceAttachmentManager,
AttachmentManager destinationAttachmentManager) |
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 AttachmentManager sourceAttachmentManager
protected AttachmentManager destinationAttachmentManager
public GeneralAttachmentCopier(AttachmentManager sourceAttachmentManager, AttachmentManager destinationAttachmentManager)
public void copy()
AttachmentDao.AttachmentCopier
copy
in interface AttachmentDao.AttachmentCopier
Copyright © 2003–2018 Atlassian. All rights reserved.