public interface

ImportExportManager

com.atlassian.confluence.importexport.ImportExportManager
Known Indirect Subclasses

Summary

Constants
String EXPORT_XML_SCOPE_ALL
String EXPORT_XML_SCOPE_PAGE
String EXPORT_XML_SCOPE_SPACE
String TYPE_ALL_DATA
String TYPE_HTML
String TYPE_MOINMOIN
String TYPE_PDF
String TYPE_XML
Public Methods
abstract String exportAs(ExportContext context, ProgressMeter progress)
abstract ContentTree getContentTree(User user, Space space)
abstract List getImportExportTypeSpecifications()
abstract void importAs(Object type, ImportContext context)
abstract String prepareDownloadPath(String path)
Helper method - returns the location to be used in the URL generated to download an exported archive.

Constants

public static final String EXPORT_XML_SCOPE_ALL

Constant Value: "all"

public static final String EXPORT_XML_SCOPE_PAGE

Constant Value: "page"

public static final String EXPORT_XML_SCOPE_SPACE

Constant Value: "space"

public static final String TYPE_ALL_DATA

Constant Value: "TYPE_ALL_DATA"

public static final String TYPE_HTML

Constant Value: "TYPE_HTML"

public static final String TYPE_MOINMOIN

Constant Value: "TYPE_MOINMOIN"

public static final String TYPE_PDF

Constant Value: "TYPE_PDF"

public static final String TYPE_XML

Constant Value: "TYPE_XML"

Public Methods

public abstract String exportAs (ExportContext context, ProgressMeter progress)

public abstract ContentTree getContentTree (User user, Space space)

Returns
  • a tree of ContentNodes for each page in the space the user can see (by checking page level permissions)

public abstract List getImportExportTypeSpecifications ()

public abstract void importAs (Object type, ImportContext context)

public abstract String prepareDownloadPath (String path)

Helper method - returns the location to be used in the URL generated to download an exported archive.

Returns
  • - relative path to be combined with the URL of the site to download the archive.
Throws
IOException