public final class FileBackupImporter extends BackupImporter
CONFLUENCE_IMPORT_USE_LEGACY_IMPORTER, FULL_EXPORT_BACKWARDS_COMPATIBILITY, MINIMUM_BUILD_NUMBER, MINIMUM_FULL_IMPORT_BUILD_NUMBER, MINIMUM_SPACE_IMPORT_BUILD_NUMBER, MINIMUM_VERSION, settingsManager, SPACE_EXPORT_BACKWARDS_COMPATIBILITY
context, sessionFactory
Constructor and Description |
---|
FileBackupImporter(JournalStateStore journalStateStore,
JournalStateStore bandanaJournalStateStore) |
Modifier and Type | Method and Description |
---|---|
protected Properties |
getDescriptorProperties() |
InputStream |
getXmlEntitiesStream() |
protected void |
importAttachments(ImportProcessorSummary context,
File extractedDir)
Copies the attachments from the import location into the configured Confluence attachment store.
|
protected ImportProcessorSummary |
importEverything() |
protected void |
postImportAndCleanUp()
Perform any special logic after the import and post-import tasks are complete.
|
protected void |
preImport()
Perform any special logic prior to the import starting.
|
void |
setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager) |
void |
setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator) |
void |
setBootstrapManager(BootstrapManager bootstrapManager) |
void |
setIndexer(com.atlassian.bonnie.Indexer indexer) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
deleteAllDatabaseContent, doImportInternal, doSpecialProcessing, getBuildNumberOfImport, getCreatedByBuildNumberOfImport, getExportType, getUpgradeManager, importEntities, importEverything, isBackupAttachments, isBackupSupportedVersion, isExportedDefaultUserGroupPermission, isExportScopeAll, isIncrementalImport, setBandanaManager, setCacheFlusher, setCacheManager, setConfluenceSchemaCreator, setI18NBeanFactory, setIndexManager, setPluginStateStore, setPostRestoreUpgradeTasks, setPreProcessors, setScheduler, setSchedulerService, setSchemaHelper, setSettingsManager, setSpaceManager, setTransactionManager, setUpgradeManager, setUserAccessor, setXmlImporter, unIndexAll
completeProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactory
public FileBackupImporter(JournalStateStore journalStateStore, JournalStateStore bandanaJournalStateStore)
protected void preImport() throws ImportExportException
Importer
preImport
in class BackupImporter
ImportExportException
- if the import should be abortedprotected void postImportAndCleanUp() throws ImportExportException
Importer
postImportAndCleanUp
in class BackupImporter
ImportExportException
- if the import process should be abortedprotected ImportProcessorSummary importEverything() throws ImportExportException
importEverything
in class BackupImporter
ImportExportException
protected void importAttachments(ImportProcessorSummary context, File extractedDir) throws ImportExportException, net.sf.hibernate.HibernateException
ImportExportException
net.sf.hibernate.HibernateException
protected Properties getDescriptorProperties() throws ImportExportException
getDescriptorProperties
in class BackupImporter
ImportExportException
public InputStream getXmlEntitiesStream() throws ImportExportException
getXmlEntitiesStream
in class BackupImporter
ImportExportException
public void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
public void setBootstrapManager(BootstrapManager bootstrapManager)
public void setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setIndexer(com.atlassian.bonnie.Indexer indexer)
Copyright © 2003–2021 Atlassian. All rights reserved.