Class FileBackupImporter
- java.lang.Object
-
- com.atlassian.confluence.importexport.Importer
-
- com.atlassian.confluence.importexport.xmlimport.BackupImporter
-
- com.atlassian.confluence.importexport.xmlimport.FileBackupImporter
-
@Deprecated public final class FileBackupImporter extends BackupImporter
Deprecated.since 7.17.0. UseBackupRestoreManager
instead.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.importexport.xmlimport.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
-
Fields inherited from class com.atlassian.confluence.importexport.Importer
context, sessionFactory
-
-
Constructor Summary
Constructors Constructor Description FileBackupImporter(JournalStateStore journalStateStore, JournalStateStore bandanaJournalStateStore)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Properties
getDescriptorProperties()
Deprecated.InputStream
getXmlEntitiesStream()
Deprecated.protected void
importAttachments(ImportProcessorSummary context, File extractedDir)
Deprecated.Copies the attachments from the import location into the configured Confluence attachment store.protected ImportProcessorSummary
importEverything()
Deprecated.protected void
postImportAndCleanUp()
Deprecated.Perform any special logic after the import and post-import tasks are complete.protected void
preImport()
Deprecated.Perform any special logic prior to the import starting.void
setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)
Deprecated.void
setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
Deprecated.void
setBootstrapManager(BootstrapManager bootstrapManager)
Deprecated.void
setConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
Deprecated.void
setIndexer(Indexer indexer)
Deprecated.since 7.5 unusedvoid
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.-
Methods inherited from class com.atlassian.confluence.importexport.xmlimport.BackupImporter
deleteAllDatabaseContent, doImportInternal, doSpecialProcessing, getBuildNumberOfImport, getCreatedByBuildNumberOfImport, getExportType, getUpgradeManager, importEntities, importEverything, isBackupAttachments, isBackupSupportedVersion, isExportedDefaultUserGroupPermission, isExportScopeAll, isIncrementalImport, setBandanaManager, setBandanaPersister, setCacheFlusher, setCacheManager, setConfluenceSchemaCreator, setI18NBeanFactory, setIndexManager, setPluginStateStore, setPostRestoreUpgradeTasks, setPreProcessors, setSchedulerServiceController, setSchemaHelper, setSettingsManager, setSpaceManager, setTransactionManager, setUpgradeFinalizationManager, setUpgradeManager, setUserAccessor, setXmlImporter, unIndexAll
-
Methods inherited from class com.atlassian.confluence.importexport.Importer
completeProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactory
-
-
-
-
Constructor Detail
-
FileBackupImporter
public FileBackupImporter(JournalStateStore journalStateStore, JournalStateStore bandanaJournalStateStore)
Deprecated.
-
-
Method Detail
-
preImport
protected void preImport() throws ImportExportException
Deprecated.Description copied from class:Importer
Perform any special logic prior to the import starting. Default implementation does nothing.- Overrides:
preImport
in classBackupImporter
- Throws:
ImportExportException
- if the import should be aborted
-
postImportAndCleanUp
protected void postImportAndCleanUp() throws ImportExportException
Deprecated.Description copied from class:Importer
Perform any special logic after the import and post-import tasks are complete. This method will run even if the import fails. The default implementation does nothing.- Overrides:
postImportAndCleanUp
in classBackupImporter
- Throws:
ImportExportException
- if the import process should be aborted
-
importEverything
protected ImportProcessorSummary importEverything() throws ImportExportException
Deprecated.- Overrides:
importEverything
in classBackupImporter
- Throws:
ImportExportException
-
importAttachments
protected void importAttachments(ImportProcessorSummary context, File extractedDir) throws ImportExportException, org.hibernate.HibernateException
Deprecated.Copies the attachments from the import location into the configured Confluence attachment store.- Throws:
ImportExportException
org.hibernate.HibernateException
-
getDescriptorProperties
protected Properties getDescriptorProperties() throws ImportExportException
Deprecated.- Specified by:
getDescriptorProperties
in classBackupImporter
- Throws:
ImportExportException
-
getXmlEntitiesStream
public InputStream getXmlEntitiesStream() throws ImportExportException
Deprecated.- Specified by:
getXmlEntitiesStream
in classBackupImporter
- Throws:
ImportExportException
-
setBandanaConfigMigrator
public void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
Deprecated.
-
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
Deprecated.
-
setConfluenceHome
public void setConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
Deprecated.
-
setBackupRestoreProviderManager
public void setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)
Deprecated.
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.
-
setIndexer
@Deprecated public void setIndexer(Indexer indexer)
Deprecated.since 7.5 unused
-
-