Class BackupImporter
java.lang.Object
com.atlassian.confluence.impl.importexport.Importer
com.atlassian.confluence.impl.importexport.BackupImporter
Deprecated.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final BuildAndVersionNumberDeprecated.Backwards compatibility for full export.static final intDeprecated.static final BuildAndVersionNumberDeprecated.Backwards compatibility for full export.static final BuildAndVersionNumberDeprecated.If you change this, you will break OD invalid input: '<'-> BTF imports.static final StringDeprecated.protected SettingsManagerDeprecated.static final BuildAndVersionNumberDeprecated.Backwards compatibility of a space export.Fields inherited from class com.atlassian.confluence.impl.importexport.Importercontext, sessionFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeprecated.protected ImportProcessorSummaryDeprecated.Performs the actual import.protected booleandoSpecialProcessing(org.hibernate.Session session, TransientHibernateHandle key) Deprecated.Deprecated.Deprecated.protected abstract PropertiesDeprecated.Deprecated.protected UpgradeManagerDeprecated.abstract InputStreamDeprecated.protected ImportProcessorSummaryimportEntities(boolean hasExtraToImport) Deprecated.protected ImportProcessorSummaryDeprecated.protected ImportProcessorSummaryimportEverything(boolean hasExtraToImport) Deprecated.booleanDeprecated.static booleanisBackupSupportedVersion(String buildNumberOfImport) Deprecated.protected booleanisExportedDefaultUserGroupPermission(SpacePermission permission) Deprecated.booleanDeprecated.booleanDeprecated.protected voidDeprecated.Perform any special logic after the import and post-import tasks are complete.protected voidDeprecated.Perform any special logic prior to the import starting.voidsetBandanaManager(BandanaManagerInternal bandanaManager) Deprecated.voidsetBandanaPersister(BandanaPersister bandanaPersister) Deprecated.voidsetCacheFlusher(CacheFlusher cacheFlusher) Deprecated.voidsetConfluenceSchemaCreator(ConfluenceSchemaCreator confluenceSchemaCreator) Deprecated.voidsetI18NBeanFactory(I18NBeanFactory i18NBeanFactory) Deprecated.voidsetIndexManager(IndexManager indexManager) Deprecated.voidsetPluginStateStore(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore) Deprecated.voidsetPostRestoreUpgradeTasks(List<UpgradeTask> postRestoreUpgradeTasks) Deprecated.voidsetPreProcessors(List<ImportedObjectPreProcessor> preProcessors) Deprecated.voidsetSchedulerServiceController(com.atlassian.scheduler.core.SchedulerServiceController schedulerServiceController) Deprecated.voidsetSettingsManager(SettingsManager settingsManager) Deprecated.voidsetSpaceManager(SpaceManager spaceManager) Deprecated.voidsetTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) Deprecated.voidsetUpgradeFinalizationManager(UpgradeFinalizationManager upgradeFinalizationManager) Deprecated.voidsetUpgradeManager(UpgradeManager upgradeManager) Deprecated.voidsetUserAccessor(UserAccessor userAccessor) Deprecated.voidsetXmlImporter(XmlImporter xmlImporter) Deprecated.protected voidDeprecated.Methods inherited from class com.atlassian.confluence.impl.importexport.ImportercompleteProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactory
- 
Field Details- 
MINIMUM_BUILD_NUMBERpublic static final int MINIMUM_BUILD_NUMBERDeprecated.- See Also:
 
- 
MINIMUM_VERSIONDeprecated.- See Also:
 
- 
MINIMUM_FULL_IMPORT_BUILD_NUMBERDeprecated.Backwards compatibility for full export. It means it is possible to put an export from the old database in the new one and run all upgrade tasks.If you change this, you will break OD invalid input: '<'-> BTF imports. For help to review your decision, please see Please see https://pug.jira-dev.com/wiki/display/CONFDEV/How+to+add+to+or+change+the+Confluence+Database 
- 
MINIMUM_SPACE_IMPORT_BUILD_NUMBERDeprecated.If you change this, you will break OD invalid input: '<'-> BTF imports. For help to review your decision, please see https://pug.jira-dev.com/wiki/display/CONFDEV/How+to+add+to+or+change+the+Confluence+Database
- 
FULL_EXPORT_BACKWARDS_COMPATIBILITYDeprecated.Backwards compatibility for full export. It means an export from the current database will be successfully used as-is by a former version of Confluence.If you change this, you will break Cloud invalid input: '<'-> BTF imports. For help to review your decision, please see https://pug.jira-dev.com/wiki/display/CONFDEV/How+to+add+to+or+change+the+Confluence+Database 
- 
SPACE_EXPORT_BACKWARDS_COMPATIBILITYDeprecated.Backwards compatibility of a space export. It is equal to the backwards compatibility of a full export and this constant is provided for clarity.
- 
settingsManagerDeprecated.
 
- 
- 
Constructor Details- 
BackupImporterpublic BackupImporter()Deprecated.
 
- 
- 
Method Details- 
preImportDeprecated.Description copied from class:ImporterPerform any special logic prior to the import starting. Default implementation does nothing.- Overrides:
- preImportin class- Importer
- Throws:
- ImportExportException- if the import should be aborted
 
- 
isBackupSupportedVersionDeprecated.
- 
doImportInternalDeprecated.Description copied from class:ImporterPerforms the actual import.- Specified by:
- doImportInternalin class- Importer
- Throws:
- ImportExportException- if there was a problem executing the import
- See Also:
 
- 
postImportAndCleanUpDeprecated.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 class- Importer
- Throws:
- ImportExportException- if the import process should be aborted
 
- 
importEverythingDeprecated.- Throws:
- ImportExportException
 
- 
importEverythingprotected ImportProcessorSummary importEverything(boolean hasExtraToImport) throws ImportExportException Deprecated.- Throws:
- ImportExportException
 
- 
importEntitiesprotected ImportProcessorSummary importEntities(boolean hasExtraToImport) throws ImportExportException Deprecated.- Throws:
- ImportExportException
 
- 
doSpecialProcessingprotected boolean doSpecialProcessing(org.hibernate.Session session, TransientHibernateHandle key) throws ImportExportException, org.hibernate.HibernateException Deprecated.- Throws:
- ImportExportException
- org.hibernate.HibernateException
 
- 
isExportedDefaultUserGroupPermissionDeprecated.
- 
deleteAllDatabaseContentpublic void deleteAllDatabaseContent() throws org.hibernate.HibernateException, SQLException, com.atlassian.config.ConfigurationExceptionDeprecated.- Throws:
- org.hibernate.HibernateException
- SQLException
- com.atlassian.config.ConfigurationException
 
- 
unIndexAllprotected void unIndexAll()Deprecated.
- 
getDescriptorPropertiesDeprecated.- Throws:
- ImportExportException
 
- 
setCacheFlusherDeprecated.
- 
setUserAccessorDeprecated.
- 
getExportTypeDeprecated.- Throws:
- ImportExportException
 
- 
isBackupAttachmentsDeprecated.- Throws:
- ImportExportException
 
- 
getBuildNumberOfImportDeprecated.- Throws:
- ImportExportException
 
- 
getCreatedByBuildNumberOfImportDeprecated.- Throws:
- ImportExportException
 
- 
isIncrementalImportDeprecated.- Throws:
- ImportExportException
 
- 
isExportScopeAllDeprecated.- Throws:
- ImportExportException
 
- 
getXmlEntitiesStreamDeprecated.- Throws:
- ImportExportException
 
- 
setSpaceManagerDeprecated.
- 
setIndexManagerDeprecated.
- 
setI18NBeanFactoryDeprecated.
- 
setPostRestoreUpgradeTasksDeprecated.
- 
setUpgradeManagerDeprecated.
- 
getUpgradeManagerDeprecated.
- 
setUpgradeFinalizationManagerDeprecated.
- 
setXmlImporterDeprecated.
- 
setTransactionManagerpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) Deprecated.
- 
setPreProcessorsDeprecated.
- 
setPluginStateStorepublic void setPluginStateStore(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore) Deprecated.
- 
setBandanaManagerDeprecated.
- 
setBandanaPersisterDeprecated.
- 
setSettingsManagerDeprecated.
- 
setConfluenceSchemaCreatorDeprecated.
- 
setSchedulerServiceControllerpublic void setSchedulerServiceController(com.atlassian.scheduler.core.SchedulerServiceController schedulerServiceController) Deprecated.
 
- 
BackupRestoreManagerinstead.