Class SpaceDatabaseDataExporter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.backup.exporters.SpaceDatabaseDataExporter
-
-
Constructor Summary
Constructors Constructor Description SpaceDatabaseDataExporter(Converter converter, DatabaseExporterHelper helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexport(Collection<String> spaceKeys)It accepts the space key, finds the space, send space data to writer and notify other persisters about the space.ExportableEntityInfogetEntityInfo()Returns default entity info for persister.ExportableEntityInfogetEntityInfo(Class<?> exportedClass)Returns default entity info for the particular class.
-
-
-
Constructor Detail
-
SpaceDatabaseDataExporter
public SpaceDatabaseDataExporter(Converter converter, DatabaseExporterHelper helper)
-
-
Method Detail
-
getEntityInfo
public ExportableEntityInfo getEntityInfo()
Description copied from interface:ExporterReturns default entity info for persister. Will fail if the persister has to work with multiple hibernate entitites.- Specified by:
getEntityInfoin interfaceExporter
-
getEntityInfo
public ExportableEntityInfo getEntityInfo(Class<?> exportedClass)
Description copied from interface:ExporterReturns default entity info for the particular class.- Specified by:
getEntityInfoin interfaceExporter
-
export
public void export(Collection<String> spaceKeys) throws BackupRestoreException
It accepts the space key, finds the space, send space data to writer and notify other persisters about the space. Other persisters (content, space permissions, notification etc.) will handle this event and export their corresponding data.- Parameters:
spaceKeys- space keys- Throws:
BackupRestoreException
-
-