com.atlassian.confluence.importexport
Interface ImportContext

All Known Implementing Classes:
DefaultImportContext

public interface ImportContext


Method Summary
 com.atlassian.user.User getCurrentUser()
          Deprecated. since 5.2. User getUser() instead.
 String getDefaultUsersGroup()
           
 ImportedPluginDataPreProcessor getPluginDataPreProcessor()
           
 List<PostImportTask> getPostImportTasks()
           
 ImportedObjectPostProcessor getPostProcessor()
           
 ImportedObjectPreProcessor getPreProcessor()
           
 com.atlassian.core.util.ProgressMeter getProgressMeter()
           
 String getSpaceKeyOfSpaceImport()
           
 ConfluenceUser getUser()
           
 String getWorkingFile()
           
 boolean isDeleteWorkingFile()
           
 boolean isRebuildIndex()
           
 void setDeleteWorkingFile(boolean deleteWorkingFile)
           
 void setPostImportTasks(List<PostImportTask> postImportTasks)
           
 void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
           
 void setRebuildIndex(boolean rebuildIndex)
           
 

Method Detail

getProgressMeter

com.atlassian.core.util.ProgressMeter getProgressMeter()

setProgressMeter

void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)

getUser

ConfluenceUser getUser()
Since:
5.2

getCurrentUser

@Deprecated
com.atlassian.user.User getCurrentUser()
Deprecated. since 5.2. User getUser() instead.


setRebuildIndex

void setRebuildIndex(boolean rebuildIndex)

isRebuildIndex

boolean isRebuildIndex()

isDeleteWorkingFile

boolean isDeleteWorkingFile()

setDeleteWorkingFile

void setDeleteWorkingFile(boolean deleteWorkingFile)

getWorkingFile

String getWorkingFile()

getPostProcessor

ImportedObjectPostProcessor getPostProcessor()

getPreProcessor

ImportedObjectPreProcessor getPreProcessor()

getPluginDataPreProcessor

ImportedPluginDataPreProcessor getPluginDataPreProcessor()

getSpaceKeyOfSpaceImport

String getSpaceKeyOfSpaceImport()
Returns:
the space key of the import, or null if this is not a space import

getDefaultUsersGroup

String getDefaultUsersGroup()

getPostImportTasks

List<PostImportTask> getPostImportTasks()
Returns:
the import tasks for this import context, or an empty list if there are none

setPostImportTasks

void setPostImportTasks(List<PostImportTask> postImportTasks)


Copyright © 2003–2015 Atlassian. All rights reserved.