public class XmlExporter extends FileXmlExporter
attachmentManagerATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory, spaceManager, TEMPLATES_DIRECTORYi18nBeanFactory| Constructor and Description | 
|---|
| XmlExporter() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | doExport(com.atlassian.core.util.ProgressMeter progress)Exports the content specified by the configured  ExportContext. | 
| protected List<TransientHibernateHandle> | getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
                            net.sf.hibernate.Session session) | 
| protected List<Space> | getIncludedSpaces()In this implementation, we want to find out the root entity and include the Space
 from that. | 
| protected List<ConfluenceEntityObject> | getObjectsExcludedFromExport()Gets a list of actual objects (not handles) to exclude from export. | 
| protected List | getSourceTemplateDirForCopying()If we're doing an export rather than a full backup, we don't export any templates | 
| void | setConfluenceBandanaRecordDao(ConfluenceBandanaRecordDao dao) | 
| void | setContent2ContentHibernateRelationDao(Content2ContentHibernateRelationDao content2ContentHibernateRelationDao) | 
| void | setContext(ExportContext context) | 
| void | setCustomContentManager(CustomContentManager customContentManager) | 
| protected void | setCustomProperties(ExportDescriptor exportDescriptor)Adds the space key to the customer descriptor properties. | 
| void | setLikeEntityDao(LikeEntityDao likeEntityDao) | 
| void | setNotificationManager(NotificationManager notificationManager) | 
| void | setPageManager(PageManager pageManager) | 
| void | setPropertySetManager(ConfluencePropertySetManager propertySetManager) | 
| void | setStorageFormatUserRewriter(StorageFormatUserRewriter storageFormatUserRewriter) | 
| void | setUser2ContentHibernateRelationDao(User2ContentHibernateRelationDao user2ContentHibernateRelationDao) | 
backupAttachments, backupConfigFiles, backupEverything, backupPluginData, backupResources, backupTemplates, doExportInternal, setAttachmentManager, setBackupRestoreProviderManagerbackupEntities, doExport, getDescriptorOutputStream, getExportScope, getExportType, getSettingsManager, getXmlOutputStream, setBootstrapManager, setSessionFactory, setSettingsManager, setSpaceManager, setUpgradeManager, writeBackupDescriptorcheckHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactorygetContextpublic void setContext(ExportContext context)
setContext in class Exporterpublic String doExport(com.atlassian.core.util.ProgressMeter progress) throws ImportExportException
ExporterExportContext.doExport in class FileXmlExporterprogress - the meter to update with progress during the export.ImportExportException - if it fails for any reason.protected final List<Space> getIncludedSpaces()
getIncludedSpaces in class FileXmlExporterAttachmentDao.AttachmentCopier.setSpacesToInclude(java.util.List)protected final void setCustomProperties(ExportDescriptor exportDescriptor)
setCustomProperties in class AbstractXmlExporterprotected List getSourceTemplateDirForCopying()
getSourceTemplateDirForCopying in class AbstractXmlExporterprotected List<TransientHibernateHandle> getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator, net.sf.hibernate.Session session) throws ImportExportException
getHandlesOfObjectsForExport in class AbstractXmlExporterTransientHibernateHandles to be exported based on the AbstractExporterImpl.getWorkingExportContext().ImportExportExceptionprotected List<ConfluenceEntityObject> getObjectsExcludedFromExport() throws ImportExportException
AbstractXmlExportergetObjectsExcludedFromExport in class AbstractXmlExporterImportExportExceptionpublic void setConfluenceBandanaRecordDao(ConfluenceBandanaRecordDao dao)
public void setNotificationManager(NotificationManager notificationManager)
public void setCustomContentManager(CustomContentManager customContentManager)
public void setPropertySetManager(ConfluencePropertySetManager propertySetManager)
public void setPageManager(PageManager pageManager)
public void setLikeEntityDao(LikeEntityDao likeEntityDao)
public void setStorageFormatUserRewriter(StorageFormatUserRewriter storageFormatUserRewriter)
public void setUser2ContentHibernateRelationDao(User2ContentHibernateRelationDao user2ContentHibernateRelationDao)
public void setContent2ContentHibernateRelationDao(Content2ContentHibernateRelationDao content2ContentHibernateRelationDao)
Copyright © 2003–2019 Atlassian. All rights reserved.