com.atlassian.confluence.importexport.impl
Class BackupExporter
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.importexport.impl.AbstractExporterImpl
com.atlassian.confluence.importexport.impl.AbstractXmlExporter
com.atlassian.confluence.importexport.impl.FileXmlExporter
com.atlassian.confluence.importexport.impl.BackupExporter
public class BackupExporter
- extends FileXmlExporter
Converts _all_ objects in confluence to xml (used for making site-wide backups).
Fields inherited from class com.atlassian.confluence.importexport.Exporter |
context |
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter |
backupEntities, doExport, getDescriptorOutputStream, getExportScope, getExportType, getObjectsExcludedFromExport, getSettingsManager, getXmlOutputStream, setBootstrapManager, setCustomProperties, setSessionFactory, setSettingsManager, setSpaceManager, writeBackupDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackupExporter
public BackupExporter()
getHandlesOfObjectsForExport
protected List<TransientHibernateHandle> getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session)
throws ImportExportException
- Specified by:
getHandlesOfObjectsForExport
in class AbstractXmlExporter
- Throws:
ImportExportException
getSourceTemplateDirForCopying
protected List getSourceTemplateDirForCopying()
- Specified by:
getSourceTemplateDirForCopying
in class AbstractXmlExporter
setAnyTypeDao
public void setAnyTypeDao(ExporterAnyTypeDao anyTypeDao)
getIncludedSpaces
protected List<Space> 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)