Class BackupImporter
java.lang.Object
com.atlassian.confluence.impl.importexport.Importer
com.atlassian.confluence.impl.importexport.BackupImporter
Deprecated.
-
Field Summary
FieldsModifier 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.Importer
context, sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Importer
completeProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactory
-
Field Details
-
MINIMUM_BUILD_NUMBER
public static final int MINIMUM_BUILD_NUMBERDeprecated.- See Also:
-
MINIMUM_VERSION
Deprecated.- See Also:
-
MINIMUM_FULL_IMPORT_BUILD_NUMBER
Deprecated.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_NUMBER
Deprecated.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_COMPATIBILITY
Deprecated.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_COMPATIBILITY
Deprecated.Backwards compatibility of a space export. It is equal to the backwards compatibility of a full export and this constant is provided for clarity. -
settingsManager
Deprecated.
-
-
Constructor Details
-
BackupImporter
public BackupImporter()Deprecated.
-
-
Method Details
-
preImport
Deprecated.Description copied from class:ImporterPerform any special logic prior to the import starting. Default implementation does nothing.- Overrides:
preImportin classImporter- Throws:
ImportExportException- if the import should be aborted
-
isBackupSupportedVersion
Deprecated. -
doImportInternal
Deprecated.Description copied from class:ImporterPerforms the actual import.- Specified by:
doImportInternalin classImporter- Throws:
ImportExportException- if there was a problem executing the import- See Also:
-
postImportAndCleanUp
Deprecated.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 classImporter- Throws:
ImportExportException- if the import process should be aborted
-
importEverything
Deprecated.- Throws:
ImportExportException
-
importEverything
protected ImportProcessorSummary importEverything(boolean hasExtraToImport) throws ImportExportException Deprecated.- Throws:
ImportExportException
-
importEntities
protected ImportProcessorSummary importEntities(boolean hasExtraToImport) throws ImportExportException Deprecated.- Throws:
ImportExportException
-
doSpecialProcessing
protected boolean doSpecialProcessing(org.hibernate.Session session, TransientHibernateHandle key) throws ImportExportException, org.hibernate.HibernateException Deprecated.- Throws:
ImportExportExceptionorg.hibernate.HibernateException
-
isExportedDefaultUserGroupPermission
Deprecated. -
deleteAllDatabaseContent
public void deleteAllDatabaseContent() throws org.hibernate.HibernateException, SQLException, com.atlassian.config.ConfigurationExceptionDeprecated.- Throws:
org.hibernate.HibernateExceptionSQLExceptioncom.atlassian.config.ConfigurationException
-
unIndexAll
protected void unIndexAll()Deprecated. -
getDescriptorProperties
Deprecated.- Throws:
ImportExportException
-
setCacheFlusher
Deprecated. -
setUserAccessor
Deprecated. -
getExportType
Deprecated.- Throws:
ImportExportException
-
isBackupAttachments
Deprecated.- Throws:
ImportExportException
-
getBuildNumberOfImport
Deprecated.- Throws:
ImportExportException
-
getCreatedByBuildNumberOfImport
Deprecated.- Throws:
ImportExportException
-
isIncrementalImport
Deprecated.- Throws:
ImportExportException
-
isExportScopeAll
Deprecated.- Throws:
ImportExportException
-
getXmlEntitiesStream
Deprecated.- Throws:
ImportExportException
-
setSpaceManager
Deprecated. -
setIndexManager
Deprecated. -
setI18NBeanFactory
Deprecated. -
setPostRestoreUpgradeTasks
Deprecated. -
setUpgradeManager
Deprecated. -
getUpgradeManager
Deprecated. -
setUpgradeFinalizationManager
Deprecated. -
setXmlImporter
Deprecated. -
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) Deprecated. -
setPreProcessors
Deprecated. -
setPluginStateStore
public void setPluginStateStore(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore) Deprecated. -
setBandanaManager
Deprecated. -
setBandanaPersister
Deprecated. -
setSettingsManager
Deprecated. -
setConfluenceSchemaCreator
Deprecated. -
setSchedulerServiceController
public void setSchedulerServiceController(com.atlassian.scheduler.core.SchedulerServiceController schedulerServiceController) Deprecated.
-
BackupRestoreManagerinstead.