public class Content2ContentRelationEntityDataExporter extends Object implements Exporter, Subscriber
| Constructor and Description |
|---|
Content2ContentRelationEntityDataExporter(ExportableEntityInfo entityInfo,
CommonDatabaseDataExporter exporter) |
| Modifier and Type | Method and Description |
|---|---|
ExportableEntityInfo |
getEntityInfo()
Returns default entity info for persister.
|
ExportableEntityInfo |
getEntityInfo(Class<?> exportedClass)
Returns default entity info for the particular class.
|
Collection<Class<?>> |
getWatchingEntityClasses()
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.
|
public Content2ContentRelationEntityDataExporter(ExportableEntityInfo entityInfo, CommonDatabaseDataExporter exporter)
public Collection<Class<?>> getWatchingEntityClasses()
SubscriberDatabaseExporterHelper.registerSubscriber(Subscriber)getWatchingEntityClasses in interface Subscriberpublic ExportableEntityInfo getEntityInfo()
ExportergetEntityInfo in interface Exporterpublic ExportableEntityInfo getEntityInfo(Class<?> exportedClass)
ExportergetEntityInfo in interface Exporterpublic void onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList) throws InterruptedException, BackupRestoreException
SubscribergetWatchingEntityClasses()onMonitoredObjectsExport in interface SubscriberexportedClass - the exported classidList - the list of ids of exported objectsInterruptedExceptionBackupRestoreExceptionCopyright © 2003–2022 Atlassian. All rights reserved.