Class BackupImporter
java.lang.Object
com.atlassian.confluence.importexport.Importer
com.atlassian.confluence.importexport.xmlimport.BackupImporter
- Direct Known Subclasses:
FileBackupImporter
Deprecated.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final BuildAndVersionNumber
Deprecated.Backwards compatibility for full export.static final int
Deprecated.static final BuildAndVersionNumber
Deprecated.Backwards compatibility for full export.static final BuildAndVersionNumber
Deprecated.If you change this, you will break OD <-> BTF imports.static final String
Deprecated.protected SettingsManager
Deprecated.static final BuildAndVersionNumber
Deprecated.Backwards compatibility of a space export.Fields inherited from class com.atlassian.confluence.importexport.Importer
context, sessionFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.protected ImportProcessorSummary
Deprecated.Performs the actual import.protected boolean
doSpecialProcessing
(org.hibernate.Session session, TransientHibernateHandle key) Deprecated.Deprecated.Deprecated.protected abstract Properties
Deprecated.Deprecated.protected UpgradeManager
Deprecated.abstract InputStream
Deprecated.protected ImportProcessorSummary
importEntities
(boolean hasExtraToImport) Deprecated.protected ImportProcessorSummary
Deprecated.protected ImportProcessorSummary
importEverything
(boolean hasExtraToImport) Deprecated.boolean
Deprecated.static boolean
isBackupSupportedVersion
(String buildNumberOfImport) Deprecated.protected boolean
isExportedDefaultUserGroupPermission
(SpacePermission permission) Deprecated.boolean
Deprecated.boolean
Deprecated.protected void
Deprecated.Perform any special logic after the import and post-import tasks are complete.protected void
Deprecated.Perform any special logic prior to the import starting.void
setBandanaManager
(com.atlassian.bandana.BandanaManager bandanaManager) Deprecated.void
setBandanaPersister
(com.atlassian.bandana.BandanaPersister bandanaPersister) Deprecated.void
setCacheFlusher
(CacheFlusher cacheFlusher) Deprecated.void
setCacheManager
(com.atlassian.cache.CacheManager cacheManager) Deprecated.since 5.10 UsesetCacheFlusher(CacheFlusher)
void
setConfluenceSchemaCreator
(ConfluenceSchemaCreator confluenceSchemaCreator) Deprecated.void
setI18NBeanFactory
(I18NBeanFactory i18NBeanFactory) Deprecated.void
setIndexManager
(IndexManager indexManager) Deprecated.void
setPluginStateStore
(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore) Deprecated.void
setPostRestoreUpgradeTasks
(List<UpgradeTask> postRestoreUpgradeTasks) Deprecated.void
setPreProcessors
(List<ImportedObjectPreProcessor> preProcessors) Deprecated.void
setSchedulerServiceController
(com.atlassian.scheduler.core.SchedulerServiceController schedulerServiceController) Deprecated.void
setSchemaHelper
(ConfluenceSchemaHelper schemaHelper) Deprecated.void
setSettingsManager
(SettingsManager settingsManager) Deprecated.void
setSpaceManager
(SpaceManager spaceManager) Deprecated.void
setTransactionManager
(org.springframework.transaction.PlatformTransactionManager transactionManager) Deprecated.void
setUpgradeFinalizationManager
(UpgradeFinalizationManager upgradeFinalizationManager) Deprecated.void
setUpgradeManager
(UpgradeManager upgradeManager) Deprecated.void
setUserAccessor
(UserAccessor userAccessor) Deprecated.void
setXmlImporter
(XmlImporter xmlImporter) Deprecated.protected void
Deprecated.Methods inherited from class com.atlassian.confluence.importexport.Importer
completeProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactory
-
Field Details
-
CONFLUENCE_IMPORT_USE_LEGACY_IMPORTER
Deprecated.- See Also:
-
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 <-> 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 <-> 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 <-> 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:Importer
Perform any special logic prior to the import starting. Default implementation does nothing.- Overrides:
preImport
in classImporter
- Throws:
ImportExportException
- if the import should be aborted
-
isBackupSupportedVersion
Deprecated. -
doImportInternal
Deprecated.Description copied from class:Importer
Performs the actual import.- Specified by:
doImportInternal
in classImporter
- Throws:
ImportExportException
- if there was a problem executing the import- See Also:
-
postImportAndCleanUp
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 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:
ImportExportException
org.hibernate.HibernateException
-
isExportedDefaultUserGroupPermission
Deprecated. -
deleteAllDatabaseContent
public void deleteAllDatabaseContent() throws org.hibernate.HibernateException, SQLException, com.atlassian.config.ConfigurationExceptionDeprecated.- Throws:
org.hibernate.HibernateException
SQLException
com.atlassian.config.ConfigurationException
-
unIndexAll
protected void unIndexAll()Deprecated. -
getDescriptorProperties
Deprecated.- Throws:
ImportExportException
-
setCacheManager
Deprecated.since 5.10 UsesetCacheFlusher(CacheFlusher)
-
setCacheFlusher
Deprecated. -
setUserAccessor
Deprecated. -
setSchemaHelper
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
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) Deprecated. -
setBandanaPersister
public void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister) Deprecated. -
setSettingsManager
Deprecated. -
setConfluenceSchemaCreator
Deprecated. -
setSchedulerServiceController
public void setSchedulerServiceController(com.atlassian.scheduler.core.SchedulerServiceController schedulerServiceController) Deprecated.
-
BackupRestoreManager
instead.