|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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.impl.AbstractExporterImpl |
---|
i18nBeanFactory |
Fields inherited from class com.atlassian.confluence.importexport.Exporter |
---|
context |
Constructor Summary | |
---|---|
BackupExporter()
|
Method Summary | |
---|---|
protected java.util.List<TransientHibernateHandle> |
getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session)
|
protected java.util.List<Space> |
getIncludedSpaces()
In this implementation, we want to include all Spaces, so return an empty list |
protected java.util.List |
getSourceTemplateDirForCopying()
|
void |
setAnyTypeDao(ExporterAnyTypeDao anyTypeDao)
|
Methods inherited from class com.atlassian.confluence.importexport.impl.FileXmlExporter |
---|
backupAttachments, backupConfigFiles, backupEverything, backupPluginData, backupResources, backupTemplates, doExport, setAttachmentManager, setBackupRestoreProviderManager |
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter |
---|
backupEntities, doExport, getDescriptorOutputStream, getExportScope, getExportType, getObjectsExcludedFromExport, getSettingsManager, getXmlOutputStream, setBootstrapManager, setCustomProperties, setSessionFactory, setSettingsManager, setSpaceManager, setUpgradeManager, writeBackupDescriptor |
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl |
---|
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory |
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 |
---|
public BackupExporter()
Method Detail |
---|
protected java.util.List<TransientHibernateHandle> getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator, net.sf.hibernate.Session session) throws ImportExportException
getHandlesOfObjectsForExport
in class AbstractXmlExporter
ImportExportException
protected java.util.List getSourceTemplateDirForCopying()
getSourceTemplateDirForCopying
in class AbstractXmlExporter
public void setAnyTypeDao(ExporterAnyTypeDao anyTypeDao)
protected java.util.List<Space> getIncludedSpaces()
getIncludedSpaces
in class FileXmlExporter
AttachmentDao.AttachmentCopier.setSpacesToInclude(java.util.List)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |