Interface ImportExportManager
- All Known Subinterfaces:
LegacyImportExportManager
- All Known Implementing Classes:
DefaultImportExportManager
Deprecated.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionexportAs
(ExportContext context, com.atlassian.core.util.ProgressMeter progress) Deprecated.getContentTree
(com.atlassian.user.User user, Space space) Deprecated.Returns a tree of content including pages for a space.getPageBlogTree
(com.atlassian.user.User user, Space space) Deprecated.Returns a tree of content including pages and blog posts for a space.prepareDownloadPath
(String path) Deprecated.Helper method - returns the location to be used in the URL generated to download an exported archive.
-
Field Details
-
TYPE_ALL_DATA
Deprecated.- See Also:
-
TYPE_XML
Deprecated.- See Also:
-
TYPE_HTML
Deprecated.- See Also:
-
TYPE_PDF
Deprecated.- See Also:
-
TYPE_MOINMOIN
Deprecated.- See Also:
-
-
Method Details
-
exportAs
@Transactional(readOnly=true, noRollbackFor=ImportExportException.class) String exportAs(ExportContext context, com.atlassian.core.util.ProgressMeter progress) throws ImportExportException Deprecated.- Throws:
ImportExportException
-
getContentTree
Deprecated.Returns a tree of content including pages for a space.- Parameters:
user
- to generate tree of content for, taking into account their permissionspace
- to generate tree of content from- Returns:
- a tree of ContentNodes for each page in the space the user can see
-
getPageBlogTree
@Transactional(readOnly=true) ContentTree getPageBlogTree(com.atlassian.user.User user, Space space) Deprecated.Returns a tree of content including pages and blog posts for a space.- Parameters:
user
- to generate tree of content for, taking into account their permissionspace
- to generate tree of content from- Returns:
- a tree of ContentNodes for each page and blog post in the space the user can see
-
prepareDownloadPath
@Transactional(propagation=SUPPORTS, noRollbackFor=java.io.IOException.class) String prepareDownloadPath(String path) throws IOException Deprecated.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
-
BackupRestoreManager
instead