Class DefaultImportExportManager
java.lang.Object
com.atlassian.confluence.impl.importexport.DefaultImportExportManager
- All Implemented Interfaces:
LegacyImportExportManager
,ImportExportManager
@Deprecated
public class DefaultImportExportManager
extends Object
implements LegacyImportExportManager
Deprecated.
-
Field Summary
FieldsFields inherited from interface com.atlassian.confluence.importexport.ImportExportManager
TYPE_ALL_DATA, TYPE_HTML, TYPE_MOINMOIN, TYPE_PDF, TYPE_XML
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultImportExportManager
(ContentPermissionManager contentPermissionManager, BootstrapManager bootstrapManager, PageManager pageManager, com.atlassian.event.api.EventPublisher eventPublisher) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
doExport
(ExportContext context, com.atlassian.core.util.ProgressMeter progress) Deprecated.protected ImmutableImportProcessorSummary
doPerformImport
(ImportContext context) Deprecated.exportAs
(ExportContext context, com.atlassian.core.util.ProgressMeter progress) Deprecated.getContentTree
(com.atlassian.user.User user, Space space) Deprecated.Returns a tree of content including pages for a space.getPageBlogTree
(com.atlassian.user.User user, Space space) Deprecated.Returns a tree of content including pages and blog posts for a space.performImport
(ImportContext context) Deprecated.Performs an import specified by the given context and returns the summary of import result.prepareDownloadPath
(String path) Deprecated.Helper method - returns the location to be used in the URL generated to download an exported archive.protected final Cleanup
Deprecated.
-
Field Details
-
EXPORT_ALL_FILE_PREFIX
Deprecated.- See Also:
-
-
Constructor Details
-
DefaultImportExportManager
public DefaultImportExportManager(ContentPermissionManager contentPermissionManager, BootstrapManager bootstrapManager, PageManager pageManager, com.atlassian.event.api.EventPublisher eventPublisher) Deprecated.
-
-
Method Details
-
performImport
public ImmutableImportProcessorSummary performImport(ImportContext context) throws ImportExportException Deprecated.Description copied from interface:LegacyImportExportManager
Performs an import specified by the given context and returns the summary of import result.- Specified by:
performImport
in interfaceLegacyImportExportManager
- Parameters:
context
- a filled out context- Returns:
- the summary of all remapped ids
- Throws:
ImportExportException
- if somethings goes wrong in the import
-
doPerformImport
protected ImmutableImportProcessorSummary doPerformImport(ImportContext context) throws ImportExportException Deprecated.- Throws:
ImportExportException
-
temporarilyShutdownInterferingPlugins
Deprecated. -
exportAs
public String exportAs(ExportContext context, com.atlassian.core.util.ProgressMeter progress) throws ImportExportException Deprecated.- Specified by:
exportAs
in interfaceImportExportManager
- Throws:
ImportExportException
-
doExport
protected String doExport(ExportContext context, com.atlassian.core.util.ProgressMeter progress) throws ImportExportException Deprecated.- Throws:
ImportExportException
-
getContentTree
Deprecated.Description copied from interface:ImportExportManager
Returns a tree of content including pages for a space.- Specified by:
getContentTree
in interfaceImportExportManager
- Parameters:
user
- to generate tree of content for, taking into account their permissionspace
- to generate tree of content from- Returns:
- a tree of ContentNodes for each page in the space the user can see
-
getPageBlogTree
Deprecated.Description copied from interface:ImportExportManager
Returns a tree of content including pages and blog posts for a space.- Specified by:
getPageBlogTree
in interfaceImportExportManager
- Parameters:
user
- to generate tree of content for, taking into account their permissionspace
- to generate tree of content from- Returns:
- a tree of ContentNodes for each page and blog post in the space the user can see
-
prepareDownloadPath
Deprecated.Description copied from interface:ImportExportManager
Helper method - returns the location to be used in the URL generated to download an exported archive.- Specified by:
prepareDownloadPath
in interfaceImportExportManager
- Parameters:
path
-- Returns:
- - relative path to be combined with the URL of the site to download the archive.
- Throws:
IOException
-
BackupRestoreManager
instead.