Class SpaceDatabaseDataExporter
java.lang.Object
com.atlassian.confluence.impl.backuprestore.backup.exporters.SpaceDatabaseDataExporter
- All Implemented Interfaces:
Exporter
Extract space and send data to the backup writer.
- Since:
- 7.20.0
-
Constructor Summary
ConstructorDescriptionSpaceDatabaseDataExporter
(Converter converter, DatabaseExporterHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(Collection<String> spaceKeys) It accepts the space key, finds the space, send space data to writer and notify other persisters about the space.Returns default entity info for persister.getEntityInfo
(Class<?> exportedClass) Returns default entity info for the particular class.
-
Constructor Details
-
SpaceDatabaseDataExporter
-
-
Method Details
-
getEntityInfo
Description copied from interface:Exporter
Returns default entity info for persister. Will fail if the persister has to work with multiple hibernate entitites.- Specified by:
getEntityInfo
in interfaceExporter
-
getEntityInfo
Description copied from interface:Exporter
Returns default entity info for the particular class.- Specified by:
getEntityInfo
in interfaceExporter
-
export
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
-