com.atlassian.confluence.pages.persistence.dao
Interface AttachmentDao.AttachmentCopier

All Known Implementing Classes:
AbstractAttachmentCopier, AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier, AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator, GeneralAttachmentCopier, GeneralAttachmentMigrator
Enclosing interface:
AttachmentDao

public static interface AttachmentDao.AttachmentCopier


Method Summary
 void copy()
          Perform the copy
 void setParentContentToExclude(List<? extends ContentEntityObject> contentList)
          Set which parent content should be excluded from the copy.
 void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
          Set the progress meter to report the status of the copy.
 void setSpacesToInclude(List<? extends Space> spaceList)
          Set which Spaces should be included in the copy.
 

Method Detail

copy

void copy()
Perform the copy


setParentContentToExclude

void setParentContentToExclude(List<? extends ContentEntityObject> contentList)
Set which parent content should be excluded from the copy.

Parameters:
contentList - a List of ContentEntityObjects

setSpacesToInclude

void setSpacesToInclude(List<? extends Space> spaceList)
Set which Spaces should be included in the copy. If no Spaces are set, then content from all Spaces is included.

Parameters:
spaceList - a List of Spaces

setProgressMeter

void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
Set the progress meter to report the status of the copy.

Parameters:
progress - a ProgressMeter instance


Copyright © 2003-2011 Atlassian. All Rights Reserved.