public final class FileBackupImporter extends 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, SPACE_EXPORT_BACKWARDS_COMPATIBILITYcontext, sessionFactory| Constructor and Description |
|---|
FileBackupImporter(JournalStateStore journalStateStore,
JournalStateStore bandanaJournalStateStore) |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
getDescriptorProperties() |
InputStream |
getXmlEntitiesStream() |
protected void |
importAttachments(ImportProcessorSummary context,
File extractedDir)
Copies the attachments from the import location into the configured Confluence attachment store.
|
protected ImportProcessorSummary |
importEverything() |
protected void |
postImportAndCleanUp()
Perform any special logic after the import and post-import tasks are complete.
|
protected void |
preImport()
Perform any special logic prior to the import starting.
|
void |
setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager) |
void |
setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator) |
void |
setBootstrapManager(BootstrapManager bootstrapManager) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
deleteAllDatabaseContent, doImportInternal, doSpecialProcessing, getBuildNumberOfImport, getCreatedByBuildNumberOfImport, getExportType, getUpgradeManager, importEntities, importEverything, isBackupAttachments, isBackupSupportedVersion, isExportedDefaultUserGroupPermission, isExportScopeAll, isIncrementalImport, setBandanaManager, setCacheFlusher, setCacheManager, setI18NBeanFactory, setIncrementalImport, setIndexManager, setPluginStateStore, setPostRestoreUpgradeTasks, setPreProcessors, setScheduler, setSchedulerService, setSchemaHelper, setSettingsManager, setSpaceManager, setTransactionManager, setUpgradeManager, setUserAccessor, setXmlImporter, unIndexAllcompleteProgessMeter, doImport, getEventPublisher, publishEvent, setContext, setEventPublisher, setPostImportTasks, setSessionFactorypublic FileBackupImporter(JournalStateStore journalStateStore, JournalStateStore bandanaJournalStateStore)
protected void preImport()
throws ImportExportException
ImporterpreImport in class BackupImporterImportExportException - if the import should be abortedprotected void postImportAndCleanUp()
throws ImportExportException
ImporterpostImportAndCleanUp in class BackupImporterImportExportException - if the import process should be abortedprotected ImportProcessorSummary importEverything() throws ImportExportException
importEverything in class BackupImporterImportExportExceptionprotected void importAttachments(ImportProcessorSummary context, File extractedDir) throws ImportExportException, net.sf.hibernate.HibernateException
ImportExportExceptionnet.sf.hibernate.HibernateExceptionprotected Properties getDescriptorProperties() throws ImportExportException
getDescriptorProperties in class BackupImporterImportExportExceptionpublic InputStream getXmlEntitiesStream() throws ImportExportException
getXmlEntitiesStream in class BackupImporterImportExportExceptionpublic void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
public void setBootstrapManager(BootstrapManager bootstrapManager)
public void setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Copyright © 2003–2016 Atlassian. All rights reserved.