Class AbstractXmlExporter
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.impl.importexport.AbstractExporterImpl
com.atlassian.confluence.impl.importexport.AbstractXmlExporter
- Direct Known Subclasses:
AbstractFileXmlExporter
,FileXmlExporter
abstract class that deals strictly with the conversion of a objects to an xml stream
- Since:
- 7.14
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Directory into which attachments will be placed in the exported ZIP fileprotected BootstrapManager
static final String
static final String
protected org.hibernate.SessionFactory
protected SpaceManager
static final String
Directory into which template overrides will be placed in the exported ZIP fileFields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ExportScope
protected List<ConfluenceEntityObject>
Gets a list of actual objects (not handles) to exclude from export.protected SettingsManager
protected abstract List
protected OutputStream
output stream to write XML object information tovoid
setBootstrapManager
(BootstrapManager bootstrapManager) void
setSessionFactory5
(org.hibernate.SessionFactory sessionFactory) void
setSettingsManager
(SettingsManager settingsManager) void
setSpaceManager
(SpaceManager spaceManager) void
setUpgradeManager
(UpgradeManager upgradeManager) 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
doExport, getContext, setContext
-
Field Details
-
EXPORT_DESCRIPTOR_FILE_NAME
- See Also:
-
ENTITIES_FILE_NAME
- See Also:
-
ATTACHMENTS_DIRECTORY
Directory into which attachments will be placed in the exported ZIP file- See Also:
-
TEMPLATES_DIRECTORY
Directory into which template overrides will be placed in the exported ZIP file- See Also:
-
sessionFactory5
protected org.hibernate.SessionFactory sessionFactory5 -
bootstrapManager
-
spaceManager
-
-
Constructor Details
-
AbstractXmlExporter
public AbstractXmlExporter()
-
-
Method Details
-
setSessionFactory5
public void setSessionFactory5(org.hibernate.SessionFactory sessionFactory) -
setBootstrapManager
-
getObjectsExcludedFromExport
Gets a list of actual objects (not handles) to exclude from export.- Throws:
ImportExportException
-
getXmlOutputStream
output stream to write XML object information to- Returns:
- the XMLOutputStream
- Throws:
FileNotFoundException
IOException
-
getExportScope
-
getSourceTemplateDirForCopying
-
setSettingsManager
-
setSpaceManager
-
setUpgradeManager
-
getSettingsManager
-