Interface Subscriber
- All Known Implementing Classes:
BandanaDataExporter
,BodyContentDataExporter
,BucketsExporter
,Content2ContentRelationEntityDataExporter
,ContentEntityDatabaseDataExporter
,ContentPropertyDataExporter
,LabellingExporter
,NotificationDatabaseDataExporter
,PageTemplateExporter
,SingleDependencyGenericExporter
public interface Subscriber
-
Method Summary
Modifier and TypeMethodDescriptionCollection<Class<?>>
Return a collection of entity classes that subscriber will monitor the object export events.void
onMonitoredObjectsExport
(Class<?> exportedClass, Collection<Object> idList) It is called when the collection of objects was exported.
-
Method Details
-
onMonitoredObjectsExport
void onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList) throws InterruptedException, BackupRestoreException It is called when the collection of objects was exported. This is called only for objects that this class is watching. SeegetWatchingEntityClasses()
- Parameters:
exportedClass
- the exported classidList
- the list of ids of exported objects- Throws:
InterruptedException
BackupRestoreException
-
getWatchingEntityClasses
Collection<Class<?>> getWatchingEntityClasses()Return 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)
-