public class BackupExporter extends FileXmlExporter
attachmentManager
ATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory, spaceManager, TEMPLATES_DIRECTORY
i18nBeanFactory
Constructor and Description |
---|
BackupExporter() |
Modifier and Type | Method and Description |
---|---|
protected List<TransientHibernateHandle> |
getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected List<Space> |
getIncludedSpaces()
In this implementation, we want to include all Spaces, so return an empty list
|
protected List |
getSourceTemplateDirForCopying() |
void |
setAnyTypeDao(ExporterAnyTypeDao anyTypeDao) |
backupAttachments, backupConfigFiles, backupEverything, backupPluginData, backupResources, backupTemplates, doExport, doExportInternal, setAttachmentManager, setBackupRestoreProviderManager
backupEntities, doExport, getDescriptorOutputStream, getExportScope, getObjectsExcludedFromExport, getSettingsManager, getXmlOutputStream, setBootstrapManager, setCustomProperties, setSessionFactory, setSettingsManager, setSpaceManager, setUpgradeManager, writeBackupDescriptor
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
getContext, setContext
protected List<TransientHibernateHandle> getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator, net.sf.hibernate.Session session) throws ImportExportException
getHandlesOfObjectsForExport
in class AbstractXmlExporter
ImportExportException
protected List getSourceTemplateDirForCopying()
getSourceTemplateDirForCopying
in class AbstractXmlExporter
public void setAnyTypeDao(ExporterAnyTypeDao anyTypeDao)
protected List<Space> getIncludedSpaces()
getIncludedSpaces
in class FileXmlExporter
AttachmentDao.AttachmentCopier.setSpacesToInclude(java.util.List)
Copyright © 2003–2019 Atlassian. All rights reserved.