com.atlassian.confluence.importexport
Interface ImportExportManager
- All Known Implementing Classes:
- DefaultImportExportManager
public interface ImportExportManager
TYPE_ALL_DATA
static final String TYPE_ALL_DATA
- See Also:
- Constant Field Values
TYPE_XML
static final String TYPE_XML
- See Also:
- Constant Field Values
TYPE_HTML
static final String TYPE_HTML
- See Also:
- Constant Field Values
TYPE_PDF
static final String TYPE_PDF
- See Also:
- Constant Field Values
TYPE_SNIPSNAP
static final String TYPE_SNIPSNAP
- See Also:
- Constant Field Values
TYPE_MOINMOIN
static final String TYPE_MOINMOIN
- See Also:
- Constant Field Values
EXPORT_XML_SCOPE_PAGE
static final String EXPORT_XML_SCOPE_PAGE
- See Also:
- Constant Field Values
EXPORT_XML_SCOPE_SPACE
static final String EXPORT_XML_SCOPE_SPACE
- See Also:
- Constant Field Values
EXPORT_XML_SCOPE_ALL
static final String EXPORT_XML_SCOPE_ALL
- See Also:
- Constant Field Values
importAs
void importAs(Object type,
ImportContext context)
throws ImportExportException
- Throws:
ImportExportException
exportAs
String exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
- Throws:
ImportExportException
getImportExportTypeSpecifications
List getImportExportTypeSpecifications()
getContentTree
ContentTree getContentTree(com.atlassian.user.User user,
Space space)
- Parameters:
user
- space
-
- Returns:
- a tree of ContentNodes for each page in the space the user can see (by checking page level permissions)
prepareDownloadPath
String prepareDownloadPath(String path)
throws IOException
- Helper method - returns the location to be used in the URL generated to download
an exported archive.
- Parameters:
path
-
- Returns:
- - relative path to be combined with the URL of the site to download the archive.
- Throws:
IOException