Class SimpleEntityExporter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.backup.exporters.SimpleEntityExporter
-
-
Constructor Summary
Constructors Constructor Description SimpleEntityExporter(CommonDatabaseDataExporter exporter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportableEntityInfogetEntityInfo()Returns default entity info for persister.ExportableEntityInfogetEntityInfo(Class<?> exportedClass)Returns default entity info for the particular class.static booleanisSuitableForExporter(ExportableEntityInfo entityInfo, Set<Class<?>> simpleEntities)voidpersistObjects(Collection<Object> objectIds)Retrieve a list of EntityObjectReadyForExport from object IDs and persist retrieved records for backup file
-
-
-
Constructor Detail
-
SimpleEntityExporter
public SimpleEntityExporter(CommonDatabaseDataExporter exporter)
-
-
Method Detail
-
persistObjects
public void persistObjects(Collection<Object> objectIds) throws InterruptedException, BackupRestoreException
Description copied from interface:PersisterRetrieve a list of EntityObjectReadyForExport from object IDs and persist retrieved records for backup file- Specified by:
persistObjectsin interfacePersister- Throws:
InterruptedExceptionBackupRestoreException
-
isSuitableForExporter
public static boolean isSuitableForExporter(ExportableEntityInfo entityInfo, Set<Class<?>> simpleEntities)
-
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
-
-