Class PluginSettingDataExporter
java.lang.Object
com.atlassian.confluence.impl.backuprestore.backup.exporters.PluginSettingDataExporter
- All Implemented Interfaces:
- Exporter,- Subscriber
- 
Constructor SummaryConstructorsConstructorDescriptionPluginSettingDataExporter(ExportableEntityInfo entityInfo, CommonDatabaseDataExporter exporter) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns default entity info for persister.getEntityInfo(Class<?> exportedClass) Returns default entity info for the particular class.Collection<Class<?>> Return a collection of entity classes that subscriber will monitor the object export events.voidonMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList) It is called when the collection of objects was exported.
- 
Constructor Details- 
PluginSettingDataExporterpublic PluginSettingDataExporter(ExportableEntityInfo entityInfo, CommonDatabaseDataExporter exporter) 
 
- 
- 
Method Details- 
getEntityInfoDescription copied from interface:ExporterReturns default entity info for persister. Will fail if the persister has to work with multiple hibernate entitites.- Specified by:
- getEntityInfoin interface- Exporter
 
- 
getEntityInfoDescription copied from interface:ExporterReturns default entity info for the particular class.- Specified by:
- getEntityInfoin interface- Exporter
 
- 
getWatchingEntityClassesDescription copied from interface:SubscriberReturn a collection of entity classes that subscriber will monitor the object export events. This is called when DatabaseExporterHelper register subscribers for all exporters. See UseDatabaseExporterHelper.registerSubscriber(Subscriber)- Specified by:
- getWatchingEntityClassesin interface- Subscriber
 
- 
onMonitoredObjectsExportpublic void onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList) throws InterruptedException, BackupRestoreException Description copied from interface:SubscriberIt is called when the collection of objects was exported. This is called only for objects that this class is watching. SeegetWatchingEntityClasses()- Specified by:
- onMonitoredObjectsExportin interface- Subscriber
- Parameters:
- exportedClass- the exported class
- idList- the list of ids of exported objects
- Throws:
- InterruptedException
- BackupRestoreException
 
 
-