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.
 java.lang.String getDefaultUsersGroup()
           
 ImportedPluginDataPreProcessor getPluginDataPreProcessor()
           
 java.util.List<PostImportTask> getPostImportTasks()
           
 ImportedObjectPostProcessor getPostProcessor()
           
 ImportedObjectPreProcessor getPreProcessor()
           
 com.atlassian.core.util.ProgressMeter getProgressMeter()
           
 java.lang.String getSpaceKeyOfSpaceImport()
           
 ConfluenceUser getUser()
           
 java.lang.String getWorkingFile()
           
 boolean isDeleteWorkingFile()
           
 boolean isRebuildIndex()
           
 void setDeleteWorkingFile(boolean deleteWorkingFile)
           
 void setPostImportTasks(java.util.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

java.lang.String getWorkingFile()

getPostProcessor

ImportedObjectPostProcessor getPostProcessor()

getPreProcessor

ImportedObjectPreProcessor getPreProcessor()

getPluginDataPreProcessor

ImportedPluginDataPreProcessor getPluginDataPreProcessor()

getSpaceKeyOfSpaceImport

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

getDefaultUsersGroup

java.lang.String getDefaultUsersGroup()

getPostImportTasks

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

setPostImportTasks

void setPostImportTasks(java.util.List<PostImportTask> postImportTasks)


Copyright © 2003-2014 Atlassian. All Rights Reserved.