|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImportExportManager
| Field Summary | |
|---|---|
static String |
EXPORT_XML_SCOPE_ALL
Deprecated. since 4.2 use ExportScope.ALL. |
static String |
EXPORT_XML_SCOPE_PAGE
Deprecated. since 4.2 use ExportScope.PAGE. |
static String |
EXPORT_XML_SCOPE_SPACE
Deprecated. since 4.2 use ExportScope.SPACE. |
static String |
TYPE_ALL_DATA
|
static String |
TYPE_HTML
|
static String |
TYPE_MOINMOIN
|
static String |
TYPE_PDF
|
static String |
TYPE_XML
|
| Method Summary | |
|---|---|
void |
doImport(ImportContext context)
Performs an import specified by the given context. |
String |
exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress)
|
ContentTree |
getContentTree(com.atlassian.user.User user,
Space space)
|
List |
getImportExportTypeSpecifications()
|
void |
importAs(Object type,
ImportContext context)
Deprecated. since 4.2 use doImport(ImportContext). |
boolean |
isImportAllowed(String buildNumber)
Is the manager capable of importing a backup of the given build number. |
String |
prepareDownloadPath(String path)
Helper method - returns the location to be used in the URL generated to download an exported archive. |
| Field Detail |
|---|
static final String TYPE_ALL_DATA
static final String TYPE_XML
static final String TYPE_HTML
static final String TYPE_PDF
static final String TYPE_MOINMOIN
@Deprecated static final String EXPORT_XML_SCOPE_PAGE
ExportScope.PAGE.@Deprecated static final String EXPORT_XML_SCOPE_SPACE
ExportScope.SPACE.@Deprecated static final String EXPORT_XML_SCOPE_ALL
ExportScope.ALL.| Method Detail |
|---|
void importAs(Object type,
ImportContext context)
throws ImportExportException
doImport(ImportContext).
ImportExportException
void doImport(ImportContext context)
throws ImportExportException
context.
context - a filled out context
ImportExportException
String exportAs(ExportContext context,
com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
ImportExportExceptionList getImportExportTypeSpecifications()
ContentTree getContentTree(com.atlassian.user.User user,
Space space)
user - space -
String prepareDownloadPath(String path)
throws IOException
path -
IOExceptionboolean isImportAllowed(String buildNumber)
buildNumber - the build number of the backup to be imported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||