com.atlassian.confluence.importexport.xmlimport
Class FileBackupImporter
java.lang.Object
com.atlassian.confluence.importexport.Importer
com.atlassian.confluence.importexport.xmlimport.BackupImporter
com.atlassian.confluence.importexport.xmlimport.FileBackupImporter
public final class FileBackupImporter
- extends BackupImporter
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, setCacheManager, setI18NBeanFactory, setIncrementalImport, setIndexManager, setPluginStateStore, setPostRestoreUpgradeTasks, setPreProcessors, setScheduler, setSchemaHelper, setSettingsManager, setSpaceManager, setTransactionManager, setUpgradeManager, setUserAccessor, setXmlImporter, unIndexAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileBackupImporter
public FileBackupImporter()
preImport
protected void preImport()
throws ImportExportException
- Description copied from class:
Importer
- Perform any special logic prior to the import starting. Default implementation
does nothing.
- Overrides:
preImport
in class BackupImporter
- Throws:
ImportExportException
- if the import should be aborted
postImportAndCleanUp
protected void postImportAndCleanUp()
throws ImportExportException
- 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 class BackupImporter
- Throws:
ImportExportException
- if the import process should be aborted
importEverything
protected ImportProcessorSummary importEverything()
throws ImportExportException
- Overrides:
importEverything
in class BackupImporter
- Throws:
ImportExportException
importAttachments
protected void importAttachments(ImportProcessorSummary context,
java.io.File extractedDir)
throws ImportExportException,
net.sf.hibernate.HibernateException
- Copies the attachments from the import location into the configured Confluence attachment store.
- Throws:
ImportExportException
net.sf.hibernate.HibernateException
getDescriptorProperties
protected java.util.Properties getDescriptorProperties()
throws ImportExportException
- Specified by:
getDescriptorProperties
in class BackupImporter
- Throws:
ImportExportException
getXmlEntitiesStream
public java.io.InputStream getXmlEntitiesStream()
throws ImportExportException
- Specified by:
getXmlEntitiesStream
in class BackupImporter
- Throws:
ImportExportException
setBandanaConfigMigrator
public void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
setBackupRestoreProviderManager
public void setBackupRestoreProviderManager(BackupRestoreProviderManager backupRestoreProviderManager)
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Copyright © 2003-2014 Atlassian. All Rights Reserved.