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 |
DefaultImportExportManager.doImport(ImportContext context) |
void |
ImportExportManager.doImport(ImportContext context)
Performs an import specified by the given
context . |
protected abstract ImportProcessorSummary |
Importer.doImportInternal()
Performs the actual import.
|
protected ImmutableImportProcessorSummary |
DefaultImportExportManager.doPerformImport(ImportContext context) |
void |
KeyInitPostImportTask.execute(ImportContext context) |
void |
PostImportTask.execute(ImportContext context)
Perform any necessary clean-up to ensure the imported data is internally consistent.
|
String |
DefaultImportExportManager.exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress) |
String |
ImportExportManager.exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress) |
<T> Collection<T> |
ImportProcessorSummary.getImportedObjectsOfType(Class<T> clazz) |
void |
DefaultImportExportManager.importAs(Object type,
ImportContext context)
Deprecated.
since 4.2 use
DefaultImportExportManager.doImport(ImportContext) . |
void |
ImportExportManager.importAs(Object type,
ImportContext context)
Deprecated.
since 4.2 use
ImportExportManager.doImport(ImportContext) . |
ImmutableImportProcessorSummary |
DefaultImportExportManager.performImport(ImportContext context) |
ImmutableImportProcessorSummary |
ImportExportManager.performImport(ImportContext context)
Performs an import specified by the given context and returns the summary of import result.
|
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 abstract DefaultImportContext |
AbstractImportAction.createImportContext(ExportDescriptor exportDescriptor) |
protected DefaultImportContext |
RestorePageAction.createImportContext(ExportDescriptor exportDescriptor) |
protected DefaultImportContext |
AbstractFileRestoreAction.createImportContext(ExportDescriptor exportDescriptor)
Builds the import context from the restore file xml
|
protected abstract File |
AbstractImportAction.getRestoreFile() |
protected File |
RestoreLocalFileAction.getRestoreFile() |
protected File |
RestoreAction.getRestoreFile() |
protected File |
AbstractImportAction.getRestoreFileFromFileSystem() |
protected File |
AbstractImportAction.getRestoreFileFromUpload()
retrieves restore file from upload
|
protected boolean |
AbstractImportAction.isImportAllowed(ExportDescriptor exportDescriptor)
Override if you want to prohibit certain types of export zips from being imported
|
protected boolean |
RestorePageAction.isImportAllowed(ExportDescriptor exportDescriptor) |
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 |
AbstractXmlExporter.backupEverything(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 |
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. |
static ExportDescriptor |
ExportDescriptor.getExportDescriptor(Unzipper unzipper) |
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> |
BackupExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected List<TransientHibernateHandle> |
XmlExporter.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() |
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–2017 Atlassian. All rights reserved.