com.atlassian.confluence.importexport.impl
Class XmlExporter
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.XmlExporter
public class XmlExporter
- extends FileXmlExporter
exports all entities added to the "working entities" collection in the context, to xml
used for making page and space xml exports
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter |
addPropertiesForContent, backupEntities, doExport, getContentAndContentPropertiesFromSpace, getDescriptorOutputStream, getExportType, getSettingsManager, getXmlOutputStream, setBootstrapManager, setMailContentManager, setPageManager, setPropertySetManager, setSessionFactory, setSettingsManager, setSpaceManager, writeBackupDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlExporter
public XmlExporter()
doExport
public String doExport(com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
- Overrides:
doExport
in class FileXmlExporter
- Throws:
ImportExportException
getIncludedSpaces
protected List getIncludedSpaces()
- In this implementation, we want to find out the root entity and include the Space
from that.
- Specified by:
getIncludedSpaces
in class FileXmlExporter
- Returns:
- an ArrayList containing the relevant Space
- See Also:
AttachmentDao.AttachmentCopier.setSpacesToInclude(java.util.List)
getSourceTemplateDirForCopying
protected List getSourceTemplateDirForCopying()
- If we're doing an export rather than a full backup, we don't export any templates
- Specified by:
getSourceTemplateDirForCopying
in class AbstractXmlExporter
getHandlesOfObjectsForExport
protected List getHandlesOfObjectsForExport()
throws ImportExportException
- Specified by:
getHandlesOfObjectsForExport
in class AbstractXmlExporter
- Throws:
ImportExportException
getObjectsExcludedFromExport
protected List getObjectsExcludedFromExport()
throws ImportExportException
- Overrides:
getObjectsExcludedFromExport
in class AbstractXmlExporter
- Throws:
ImportExportException
setConfluenceBandanaRecordDao
public void setConfluenceBandanaRecordDao(ConfluenceBandanaRecordDao dao)
Copyright © 2003-2011 Atlassian. All Rights Reserved.