Package | Description |
---|---|
com.atlassian.confluence.importexport | |
com.atlassian.confluence.importexport.actions | |
com.atlassian.confluence.importexport.impl | |
com.atlassian.confluence.importexport.plugin | |
com.atlassian.confluence.importexport.xmlimport |
Imports Confluence data from an XML backup.
|
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultImportExportManager.doExport(ExportContext context,
com.atlassian.core.util.ProgressMeter progress) |
abstract String |
Exporter.doExport(com.atlassian.core.util.ProgressMeter progress)
Exports the content specified by the configured
ExportContext . |
ImportProcessorSummary |
Importer.doImport()
Executes an import with this importer.
|
void |
ImportExportManager.doImport(ImportContext context)
Performs an import specified by the given
context . |
void |
DefaultImportExportManager.doImport(ImportContext context) |
protected abstract ImportProcessorSummary |
Importer.doImportInternal()
Performs the actual import.
|
protected ImmutableImportProcessorSummary |
DefaultImportExportManager.doPerformImport(ImportContext context) |
void |
PostImportTask.execute(ImportContext context)
Perform any necessary clean-up to ensure the imported data is internally consistent.
|
void |
KeyInitPostImportTask.execute(ImportContext context) |
String |
ImportExportManager.exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress) |
String |
DefaultImportExportManager.exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress) |
<T> Collection<T> |
ImportProcessorSummary.getImportedObjectsOfType(Class<T> clazz) |
void |
ImportExportManager.importAs(Object type,
ImportContext context)
Deprecated.
since 4.2 use
ImportExportManager.doImport(ImportContext) . |
void |
DefaultImportExportManager.importAs(Object type,
ImportContext context)
Deprecated.
since 4.2 use
DefaultImportExportManager.doImport(ImportContext) . |
ImmutableImportProcessorSummary |
ImportExportManager.performImport(ImportContext context)
Performs an import specified by the given context and returns the summary of import result.
|
ImmutableImportProcessorSummary |
DefaultImportExportManager.performImport(ImportContext context) |
protected void |
Importer.postImportAndCleanUp()
Perform any special logic after the import and post-import tasks are complete.
|
protected void |
Importer.preImport()
Perform any special logic prior to the import starting.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultImportContext |
RestorePageAction.createImportContext(ExportDescriptor exportDescriptor) |
protected abstract DefaultImportContext |
AbstractImportAction.createImportContext(ExportDescriptor exportDescriptor) |
protected DefaultImportContext |
AbstractFileRestoreAction.createImportContext(ExportDescriptor exportDescriptor)
Builds the import context from the restore file xml
|
protected File |
RestoreLocalFileAction.getRestoreFile() |
protected File |
RestoreAction.getRestoreFile() |
protected abstract File |
AbstractImportAction.getRestoreFile() |
protected File |
AbstractImportAction.getRestoreFileFromFileSystem() |
protected File |
AbstractImportAction.getRestoreFileFromUpload()
retrieves restore file from upload
|
protected boolean |
RestorePageAction.isImportAllowed(ExportDescriptor exportDescriptor) |
protected boolean |
AbstractImportAction.isImportAllowed(ExportDescriptor exportDescriptor)
Override if you want to prohibit certain types of export zips from being imported
|
protected boolean |
AbstractFileRestoreAction.isImportAllowed(ExportDescriptor exportDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileXmlExporter.backupAttachments()
Backs up the Attachments and stores them in the "attachments" directory of the export.
|
protected void |
FileXmlExporter.backupConfigFiles() |
protected void |
AbstractXmlExporter.backupEntities(HibernateObjectHandleTranslator translator,
com.atlassian.core.util.ProgressMeter progress) |
protected void |
FileXmlExporter.backupEverything(HibernateObjectHandleTranslator translator,
com.atlassian.core.util.ProgressMeter progress)
copies attachments, templates and config files
|
protected void |
AbstractXmlExporter.backupEverything(HibernateObjectHandleTranslator translator,
com.atlassian.core.util.ProgressMeter progress) |
protected void |
FileXmlExporter.backupPluginData() |
protected void |
FileXmlExporter.backupResources() |
protected void |
FileXmlExporter.backupTemplates() |
protected void |
AbstractExporterImpl.checkHaveSomethingToExport() |
String |
AbstractExporterImpl.createAndSetExportDirectory() |
protected File |
AbstractExporterImpl.createExportDirectory()
Create a temp directory to store files used to build an export zip.
|
String |
AbstractXmlExporter.doExport(HibernateObjectHandleTranslator translator,
com.atlassian.core.util.ProgressMeter progress) |
String |
XmlExporter.doExport(com.atlassian.core.util.ProgressMeter progress) |
String |
HtmlExporter.doExport(com.atlassian.core.util.ProgressMeter progress) |
String |
FileXmlExporter.doExport(com.atlassian.core.util.ProgressMeter progress) |
String |
AbstractRendererExporterImpl.doExport(com.atlassian.core.util.ProgressMeter progress) |
protected void |
HtmlExporter.doExportEntity(ConfluenceEntityObject entity,
String exportPath) |
protected abstract void |
AbstractRendererExporterImpl.doExportEntity(ConfluenceEntityObject entity,
String exportPath) |
protected String |
FileXmlExporter.doExportInternal(com.atlassian.core.util.ProgressMeter progress) |
protected void |
AbstractExporterImpl.ensureDirectoryCreated(File directory) |
protected void |
AbstractRendererExporterImpl.ensurePathExists(String path) |
protected void |
HtmlExporter.exportPage(Page page,
String baseExportPath)
Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.
|
protected void |
AbstractRendererExporterImpl.exportPage(Page page,
String baseExportPath) |
protected void |
HtmlExporter.exportSpace(Space space,
String baseExportPath) |
protected void |
AbstractRendererExporterImpl.exportSpace(Space space,
String baseExportPath) |
protected OutputStream |
AbstractXmlExporter.getDescriptorOutputStream() |
static ExportDescriptor |
ExportDescriptor.getExportDescriptor(File exportZip) |
static Properties |
ExportUtils.getExportDescriptor(File exportZip,
boolean cleanup)
Deprecated.
since 4.2 use
ExportDescriptor.getExportDescriptor(java.io.File) instead. |
protected ExportScope |
AbstractXmlExporter.getExportScope() |
protected String |
AbstractXmlExporter.getExportType()
Deprecated.
since 4.2 use
AbstractXmlExporter.getExportScope() instead. |
static String |
ExportUtils.getExportTypeFromExportZip(File exportZip)
Deprecated.
since 4.2 use
ExportDescriptor.getScope() |
static String |
ExportUtils.getExportTypeFromExportZip(File exportZip,
boolean cleanup)
Deprecated.
since 4.2 use
ExportDescriptor.getScope() |
protected String |
HtmlExporter.getFullExportPath(String baseExportPath,
ConfluenceEntityObject entity) |
protected abstract String |
AbstractRendererExporterImpl.getFullExportPath(String baseExportPath,
ConfluenceEntityObject entity) |
protected List<TransientHibernateHandle> |
XmlExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected List<TransientHibernateHandle> |
BackupExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected abstract List<TransientHibernateHandle> |
AbstractXmlExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected List<ConfluenceEntityObject> |
XmlExporter.getObjectsExcludedFromExport() |
protected List<ConfluenceEntityObject> |
AbstractXmlExporter.getObjectsExcludedFromExport()
Gets a list of actual objects (not handles) to exclude from export.
|
static String |
ExportUtils.getSpaceKeyFromExportZip(File exportZip)
Deprecated.
this is unnecessary for space exports produced since Confluence 4.2, where you can just use
ExportDescriptor.getSpaceKey() . |
protected OutputStream |
AbstractXmlExporter.getXmlOutputStream()
output stream to write XML object information to
|
static boolean |
ExportUtils.isSpaceImport(File importFile)
Deprecated.
since 4.2 use
ExportDescriptor.isSpaceImport() . |
protected void |
AbstractXmlExporter.writeBackupDescriptor(String baseExportPath) |
Modifier and Type | Method and Description |
---|---|
void |
BackupRestoreProvider.backup(OutputStream outputStream) |
void |
BackupRestoreProvider.restore(InputStream file) |
Modifier and Type | Method and Description |
---|---|
ImportProcessorSummary |
XmlImporter.doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter progress,
boolean incrementalImport)
|
ImportProcessorSummary |
DefaultXmlImporter.doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter progress,
boolean incrementalImport) |
ImportProcessorSummary |
XmlImporter.doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter progress,
boolean incrementalImport,
ImportedObjectPreProcessor preProcessor)
Perform an XML import.
|
ImportProcessorSummary |
DefaultXmlImporter.doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter meter,
boolean incrementalImport,
ImportedObjectPreProcessor preProcessor) |
protected ImportProcessorSummary |
BackupImporter.doImportInternal() |
protected boolean |
BackupImporter.doSpecialProcessing(net.sf.hibernate.Session session,
TransientHibernateHandle key) |
void |
HibernateHiLoIdFixer.fixHiLoTable() |
String |
BackupImporter.getBuildNumberOfImport() |
String |
BackupImporter.getCreatedByBuildNumberOfImport() |
protected Properties |
FileBackupImporter.getDescriptorProperties() |
protected abstract Properties |
BackupImporter.getDescriptorProperties() |
String |
BackupImporter.getExportType() |
InputStream |
FileBackupImporter.getXmlEntitiesStream() |
abstract InputStream |
BackupImporter.getXmlEntitiesStream() |
protected void |
FileBackupImporter.importAttachments(ImportProcessorSummary context,
File extractedDir)
Copies the attachments from the import location into the configured Confluence attachment store.
|
protected ImportProcessorSummary |
BackupImporter.importEntities(boolean hasExtraToImport) |
protected ImportProcessorSummary |
FileBackupImporter.importEverything() |
protected ImportProcessorSummary |
BackupImporter.importEverything() |
protected ImportProcessorSummary |
BackupImporter.importEverything(boolean hasExtraToImport) |
boolean |
BackupImporter.isBackupAttachments() |
boolean |
BackupImporter.isExportScopeAll() |
boolean |
BackupImporter.isIncrementalImport() |
InputStream |
InputStreamFactory.newInputStream() |
protected void |
FileBackupImporter.postImportAndCleanUp() |
protected void |
BackupImporter.postImportAndCleanUp() |
protected void |
FileBackupImporter.preImport() |
protected void |
BackupImporter.preImport() |
Copyright © 2003–2016 Atlassian. All rights reserved.