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

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

public static interface AttachmentDao.AttachmentMigrator


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

Method Detail

migrate

void migrate()
Perform the migration


setParentContentToExclude

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

Parameters:
contentList - a List of ContentEntityObjects

setSpacesToInclude

void setSpacesToInclude(List<? extends Space> spaceList)
Set which Spaces should be included in the migration. 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 migration.

Parameters:
progress - a ProgressMeter instance


Copyright © 2003-2011 Atlassian. All Rights Reserved.