Class XmlExporter
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
com.atlassian.confluence.importexport.impl.XmlExporter
Deprecated.
TODO this class is used by CCMA, so it remains here to avoid compilation issues
Exports the entities added to the workingEntities collection in the context to xml.
Used for making page and space xml exports.
-
Field Summary
Fields inherited from class com.atlassian.confluence.importexport.impl.FileXmlExporter
attachmentManagerFields inherited from class com.atlassian.confluence.impl.importexport.AbstractXmlExporter
ATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory5, spaceManager, TEMPLATES_DIRECTORYFields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoExport(com.atlassian.core.util.ProgressMeter progress) Deprecated.Exports the content specified by the configuredExportContext.Deprecated.In this implementation, we want to find out the root entity and include the Space from that.protected List<ConfluenceEntityObject> Deprecated.Gets a list of actual objects (not handles) to exclude from export.protected ListDeprecated.If we're doing an export rather than a full backup, we don't export any templatesvoidsetContext(ExportContext context) Deprecated.Methods inherited from class com.atlassian.confluence.importexport.impl.FileXmlExporter
backupAttachments, backupConfigFiles, backupPluginData, backupResources, backupTemplates, setAttachmentManager, setBackupRestoreProviderManager, setConfluenceHomeMethods inherited from class com.atlassian.confluence.impl.importexport.AbstractXmlExporter
getExportScope, getSettingsManager, getXmlOutputStream, setBootstrapManager, setSessionFactory5, setSettingsManager, setSpaceManager, setUpgradeManagerMethods inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactoryMethods inherited from class com.atlassian.confluence.importexport.Exporter
getContext
-
Constructor Details
-
XmlExporter
public XmlExporter()Deprecated.
-
-
Method Details
-
setContext
Deprecated.- Overrides:
setContextin classExporter
-
doExport
Deprecated.Description copied from class:ExporterExports the content specified by the configuredExportContext.- Overrides:
doExportin classFileXmlExporter- 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.In this implementation, we want to find out the root entity and include the Space from that.- Specified by:
getIncludedSpacesin classFileXmlExporter- Returns:
- an ArrayList containing the relevant Space
- See Also:
-
getSourceTemplateDirForCopying
Deprecated.If we're doing an export rather than a full backup, we don't export any templates- Specified by:
getSourceTemplateDirForCopyingin classAbstractXmlExporter
-
getObjectsExcludedFromExport
Deprecated.Description copied from class:AbstractXmlExporterGets a list of actual objects (not handles) to exclude from export.- Overrides:
getObjectsExcludedFromExportin classAbstractXmlExporter- Throws:
ImportExportException
-
invalid reference