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
FieldsModifier and TypeFieldDescriptionstatic final StringDirectory into which attachments will be placed in the exported ZIP fileprotected BootstrapManagerstatic final Stringstatic final Stringprotected org.hibernate.SessionFactoryprotected SpaceManagerstatic final StringDirectory into which template overrides will be placed in the exported ZIP fileFields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExportScopeprotected List<ConfluenceEntityObject>Gets a list of actual objects (not handles) to exclude from export.protected SettingsManagerprotected abstract Listprotected OutputStreamoutput stream to write XML object information tovoidsetBootstrapManager(BootstrapManager bootstrapManager) voidsetSessionFactory5(org.hibernate.SessionFactory sessionFactory) voidsetSettingsManager(SettingsManager settingsManager) voidsetSpaceManager(SpaceManager spaceManager) voidsetUpgradeManager(UpgradeManager upgradeManager) Methods 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
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:
FileNotFoundExceptionIOException
-
getExportScope
-
getSourceTemplateDirForCopying
-
setSettingsManager
-
setSpaceManager
-
setUpgradeManager
-
getSettingsManager
-