com.atlassian.confluence.importexport.impl
Class BackupExporter

java.lang.Object
  extended bycom.atlassian.confluence.importexport.Exporter
      extended bycom.atlassian.confluence.importexport.impl.AbstractExporterImpl
          extended bycom.atlassian.confluence.importexport.impl.AbstractXmlExporter
              extended bycom.atlassian.confluence.importexport.impl.FileXmlExporter
                  extended bycom.atlassian.confluence.importexport.impl.BackupExporter

public class BackupExporter
extends FileXmlExporter

converts _all_ objects in confluence to xml (used for making site-wide backups)


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.impl.FileXmlExporter
attachmentManager
 
Fields inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter
ATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory, spaceManager, TEMPLATES_DIRECTORY
 
Fields inherited from class com.atlassian.confluence.importexport.Exporter
context, log
 
Constructor Summary
BackupExporter()
           
 
Method Summary
protected  List getHandlesOfObjectsForExport()
           
protected  List getIncludedSpaces()
          In this implementation, we want to include all Spaces, so return an empty list
protected  List getSourceTemplateDirForCopying()
           
 void setAnyTypeObjectDao(AnyTypeObjectDao anyTypeObjectDao)
           
 
Methods inherited from class com.atlassian.confluence.importexport.impl.FileXmlExporter
backupAttachments, backupConfigFiles, backupEverything, backupResources, backupTemplates, doExport, setAttachmentManager
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter
addPropertiesForContent, backupEntities, doExport, expandSpaces, getContentAndContentPropertiesFromSpace, getDescriptorOutputStream, getExportType, getObjectsExcludedFromExport, getXmlOutputStream, setBootstrapManager, setPropertySetManager, setSessionFactory, setSettingsManager, setSpaceManager, writeBackupDescriptor
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
checkHaveSomethingToExport, ensureDirectoryCreated, ensurePathExists, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName
 
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupExporter

public BackupExporter()
Method Detail

getHandlesOfObjectsForExport

protected List getHandlesOfObjectsForExport()
                                     throws ImportExportException
Specified by:
getHandlesOfObjectsForExport in class AbstractXmlExporter
Throws:
ImportExportException

getSourceTemplateDirForCopying

protected List getSourceTemplateDirForCopying()
Specified by:
getSourceTemplateDirForCopying in class AbstractXmlExporter

setAnyTypeObjectDao

public void setAnyTypeObjectDao(AnyTypeObjectDao anyTypeObjectDao)

getIncludedSpaces

protected List getIncludedSpaces()
In this implementation, we want to include all Spaces, so return an empty list

Specified by:
getIncludedSpaces in class FileXmlExporter
Returns:
an empty List
See Also:
AttachmentDao.AttachmentCopier.setSpacesToInclude(java.util.List)


Confluence is developed by Atlassian.