com.atlassian.confluence.importexport
Class DefaultImportExportManager
java.lang.Object
com.atlassian.confluence.importexport.DefaultImportExportManager
- All Implemented Interfaces:
- ImportExportManager
public class DefaultImportExportManager
- extends Object
- implements ImportExportManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPORT_ALL_FILE_PREFIX
public static final String EXPORT_ALL_FILE_PREFIX
- See Also:
- Constant Field Values
importExportTypes
public static final ArrayList<String> importExportTypes
DefaultImportExportManager
public DefaultImportExportManager()
importAs
public void importAs(Object type,
ImportContext context)
throws ImportExportException
- Specified by:
importAs
in interface ImportExportManager
- Throws:
ImportExportException
exportAs
public String exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
- Specified by:
exportAs
in interface ImportExportManager
- Throws:
ImportExportException
getImportExportTypeSpecifications
public List getImportExportTypeSpecifications()
- Specified by:
getImportExportTypeSpecifications
in interface ImportExportManager
getContentTree
public ContentTree getContentTree(com.atlassian.user.User user,
Space space)
- Specified by:
getContentTree
in interface ImportExportManager
- Returns:
- a tree of ContentNodes for each page in the space the user can see (by checking page level permissions)
prepareDownloadPath
public String prepareDownloadPath(String path)
throws IOException
- Description copied from interface:
ImportExportManager
- Helper method - returns the location to be used in the URL generated to download
an exported archive.
- Specified by:
prepareDownloadPath
in interface ImportExportManager
- Returns:
- - relative path to be combined with the URL of the site to download the archive.
- Throws:
IOException
getContentPermissionManager
public ContentPermissionManager getContentPermissionManager()
setContentPermissionManager
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
setPageManager
public void setPageManager(PageManager pageManager)
Copyright © 2003-2011 Atlassian. All Rights Reserved.