Class AbstractExporterImpl
- java.lang.Object
-
- com.atlassian.confluence.importexport.Exporter
-
- com.atlassian.confluence.importexport.impl.AbstractExporterImpl
-
- Direct Known Subclasses:
AbstractRendererExporterImpl
@Deprecated public abstract class AbstractExporterImpl extends Exporter
Deprecated.since 7.14Abstract exporter that only deals with simple general export utility methods like where the files go.
-
-
Field Summary
Fields Modifier and Type Field Description protected I18NBeanFactoryi18nBeanFactoryDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractExporterImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcheckHaveSomethingToExport()Deprecated.StringcreateAndSetExportDirectory()Deprecated.protected FilecreateExportDirectory()Deprecated.Create a temp directory to store files used to build an export zip.protected voidensureDirectoryCreated(File directory)Deprecated.protected StringgetSpaceKeyForExportFileName(String spaceKey)Deprecated.protected DefaultExportContextgetWorkingExportContext()Deprecated.protected StringprepareExportFileName(ConfluenceEntityObject entity)Deprecated.voidsetExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator)Deprecated.voidsetI18NBeanFactory(I18NBeanFactory i18nBeanFactory)Deprecated.-
Methods inherited from class com.atlassian.confluence.importexport.Exporter
doExport, getContext, setContext
-
-
-
-
Field Detail
-
i18nBeanFactory
protected I18NBeanFactory i18nBeanFactory
Deprecated.
-
-
Method Detail
-
getWorkingExportContext
protected DefaultExportContext getWorkingExportContext()
Deprecated.
-
createAndSetExportDirectory
public String createAndSetExportDirectory() throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
ensureDirectoryCreated
protected void ensureDirectoryCreated(File directory) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
getSpaceKeyForExportFileName
protected String getSpaceKeyForExportFileName(String spaceKey)
Deprecated.
-
checkHaveSomethingToExport
protected void checkHaveSomethingToExport() throws ImportExportExceptionDeprecated.- Throws:
ImportExportException
-
prepareExportFileName
protected String prepareExportFileName(ConfluenceEntityObject entity)
Deprecated.
-
createExportDirectory
protected File createExportDirectory() throws ImportExportException
Deprecated.Create a temp directory to store files used to build an export zip. Throw an error if this folder cannot be created- Returns:
- the absolute path to the export directory
- Throws:
ImportExportException- if the directory can't be created
-
setExportFileNameGenerator
public void setExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator)
Deprecated.
-
setI18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
Deprecated.
-
-