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. UseBackupRestoreManagerinstead.
-
-
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(Set<JournalStateStore> journalStateStorese)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected PropertiesgetDescriptorProperties()Deprecated.InputStreamgetXmlEntitiesStream()Deprecated.protected voidimportAttachments(ImportProcessorSummary context, File extractedDir)Deprecated.Copies the attachments from the import location into the configured Confluence attachment store.protected ImportProcessorSummaryimportEverything()Deprecated.protected voidpostImportAndCleanUp()Deprecated.Perform any special logic after the import and post-import tasks are complete.protected voidpreImport()Deprecated.Perform any special logic prior to the import starting.voidsetBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)Deprecated.voidsetBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)Deprecated.voidsetBootstrapManager(BootstrapManager bootstrapManager)Deprecated.voidsetConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)Deprecated.voidsetIndexer(Indexer indexer)Deprecated.since 7.5 unusedvoidsetPluginAccessor(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(Set<JournalStateStore> journalStateStorese)
Deprecated.
-
-
Method Detail
-
preImport
protected void preImport() throws ImportExportExceptionDeprecated.Description copied from class:ImporterPerform any special logic prior to the import starting. Default implementation does nothing.- Overrides:
preImportin classBackupImporter- Throws:
ImportExportException- if the import should be aborted
-
postImportAndCleanUp
protected void postImportAndCleanUp() throws ImportExportExceptionDeprecated.Description copied from class:ImporterPerform 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:
postImportAndCleanUpin classBackupImporter- Throws:
ImportExportException- if the import process should be aborted
-
importEverything
protected ImportProcessorSummary importEverything() throws ImportExportException
Deprecated.- Overrides:
importEverythingin 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:
ImportExportExceptionorg.hibernate.HibernateException
-
getDescriptorProperties
protected Properties getDescriptorProperties() throws ImportExportException
Deprecated.- Specified by:
getDescriptorPropertiesin classBackupImporter- Throws:
ImportExportException
-
getXmlEntitiesStream
public InputStream getXmlEntitiesStream() throws ImportExportException
Deprecated.- Specified by:
getXmlEntitiesStreamin 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
-
-