Class FileXmlExporter
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.impl.importexport.AbstractExporterImpl
com.atlassian.confluence.impl.importexport.AbstractXmlExporter
com.atlassian.confluence.importexport.impl.FileXmlExporter
- Direct Known Subclasses:
XmlExporter
Deprecated.
Performs the file IO side of the export/backup
For example: - copying attachments to temp directory - copying config files
Then performs the zipping and packaging into a zip file
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.impl.importexport.AbstractXmlExporter
ATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory5, spaceManager, TEMPLATES_DIRECTORY
Fields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated.Backs up the Attachments and stores them in the "attachments" directory of the export.protected void
Deprecated.protected void
Deprecated.protected void
Deprecated.protected void
Deprecated.doExport
(com.atlassian.core.util.ProgressMeter progress) Deprecated.Exports the content specified by the configuredExportContext
.Deprecated.Returns the List of Spaces that should be included in the exportvoid
setAttachmentManager
(AttachmentManagerInternal attachmentManager) Deprecated.void
setBackupRestoreProviderManager
(BackupRestoreProviderManager backupRestoreProviderManager) Deprecated.void
setConfluenceHome
(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome) Deprecated.Methods inherited from class com.atlassian.confluence.impl.importexport.AbstractXmlExporter
getExportScope, getObjectsExcludedFromExport, getSettingsManager, getSourceTemplateDirForCopying, getXmlOutputStream, setBootstrapManager, setSessionFactory5, setSettingsManager, setSpaceManager, setUpgradeManager
Methods inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
-
Field Details
-
attachmentManager
Deprecated.
-
-
Constructor Details
-
FileXmlExporter
public FileXmlExporter()Deprecated.
-
-
Method Details
-
doExport
Deprecated.Description copied from class:Exporter
Exports the content specified by the configuredExportContext
.- Specified by:
doExport
in classExporter
- Parameters:
progress
- the meter to update with progress during the export.- Returns:
- the path to the exported content.
- Throws:
ImportExportException
- if it fails for any reason.
-
getIncludedSpaces
Deprecated.Returns the List of Spaces that should be included in the exportWhen all Spaces are included, an empty List should be returned
- Returns:
- a List of Space objects
- See Also:
-
backupAttachments
Deprecated.Backs up the Attachments and stores them in the "attachments" directory of the export.This method copies all attachments from the current Attachment store to the export location.
The spaces to be included in the export are used to restrict what attachments are included. The pages to be excluded in the export are used to restrict what attachments are included.
-
backupResources
Deprecated.- Throws:
ImportExportException
-
backupTemplates
Deprecated.- Throws:
ImportExportException
-
backupConfigFiles
Deprecated.- Throws:
ImportExportException
-
backupPluginData
Deprecated.- Throws:
ImportExportException
-
setAttachmentManager
Deprecated. -
setBackupRestoreProviderManager
public void setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager) Deprecated. -
setConfluenceHome
public void setConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome) Deprecated.
-
AbstractFileXmlExporter