com.atlassian.confluence.importexport.impl
Class FileBackupImporter

java.lang.Object
  extended bycom.atlassian.confluence.importexport.Importer
      extended bycom.atlassian.confluence.importexport.impl.BackupImporter
          extended bycom.atlassian.confluence.importexport.impl.FileBackupImporter

public class FileBackupImporter
extends BackupImporter


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.impl.BackupImporter
attachmentManager, bandanaPersister, bootstrapManager, cacheManager, eventManager, i18NBeanFactory, labelManager, log, pageManager, schemaHelper, spaceManager, userAccessor
 
Fields inherited from class com.atlassian.confluence.importexport.Importer
context, sessionFactory
 
Constructor Summary
FileBackupImporter()
           
 
Method Summary
 void doImport()
           
protected  InputStream getDescriptorPropertiesStream()
           
 InputStream getXmlEntitiesStream()
           
protected  void importAttachments(ReverseDatabinder xmlReader, File extractedDir)
          Copies the attachments from the import location into the configured Confluence attachment store.
protected  void importEverything()
           
 void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
           
 
Methods inherited from class com.atlassian.confluence.importexport.impl.BackupImporter
completeProgessMeter, createXmlReader, doSpecialProcessing, getBuildNumberOfImport, getDescriptorProperties, getExportType, importEntities, importEverything, isBackupAttachments, isIncrementalImport, setAttachmentManager, setBandanaPersister, setBootstrapManager, setCacheManager, setEventManager, setI18NBeanFactory, setIndexManager, setLabelManager, setPageManager, setScheduler, setSchemaHelper, setSpaceManager, setSpacePermissionManager, setUserAccessor, unIndexAll
 
Methods inherited from class com.atlassian.confluence.importexport.Importer
setContext, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBackupImporter

public FileBackupImporter()
Method Detail

doImport

public void doImport()
              throws ImportExportException
Overrides:
doImport in class BackupImporter
Throws:
ImportExportException

importEverything

protected void importEverything()
                         throws ImportExportException
Overrides:
importEverything in class BackupImporter
Throws:
ImportExportException

importAttachments

protected void importAttachments(ReverseDatabinder xmlReader,
                                 File extractedDir)
                          throws ImportExportException
Copies the attachments from the import location into the configured Confluence attachment store.

Throws:
ImportExportException

getDescriptorPropertiesStream

protected InputStream getDescriptorPropertiesStream()
                                             throws ImportExportException
Specified by:
getDescriptorPropertiesStream in class BackupImporter
Throws:
ImportExportException

getXmlEntitiesStream

public InputStream getXmlEntitiesStream()
                                 throws ImportExportException
Specified by:
getXmlEntitiesStream in class BackupImporter
Throws:
ImportExportException

setBandanaConfigMigrator

public void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)


Confluence is developed by Atlassian.