|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier
com.atlassian.confluence.pages.persistence.dao.GeneralAttachmentCopier
public class GeneralAttachmentCopier
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.
AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier| Field Summary | |
|---|---|
protected AttachmentManager |
destinationAttachmentManager
|
protected static org.apache.log4j.Category |
log
|
protected AttachmentManager |
sourceAttachmentManager
|
| Fields inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier |
|---|
parentContentToExclude, progress, spacesToInclude |
| Constructor Summary | |
|---|---|
GeneralAttachmentCopier(AttachmentManager sourceAttachmentManager,
AttachmentManager destinationAttachmentManager)
|
|
| Method Summary | |
|---|---|
void |
copy()
Perform the copy |
| Methods inherited from class com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier |
|---|
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 Detail |
|---|
protected static org.apache.log4j.Category log
protected AttachmentManager sourceAttachmentManager
protected AttachmentManager destinationAttachmentManager
| Constructor Detail |
|---|
public GeneralAttachmentCopier(AttachmentManager sourceAttachmentManager,
AttachmentManager destinationAttachmentManager)
| Method Detail |
|---|
public void copy()
AttachmentDao.AttachmentCopier
copy in interface AttachmentDao.AttachmentCopier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||