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 ExportableEntityInfo
getEntityInfo()
Returns default entity info for persister.ExportableEntityInfo
getEntityInfo(Class<?> exportedClass)
Returns default entity info for the particular class.static boolean
isSuitableForExporter(ExportableEntityInfo entityInfo, Set<Class<?>> simpleEntities)
void
persistObjects(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:Persister
Retrieve a list of EntityObjectReadyForExport from object IDs and persist retrieved records for backup file- Specified by:
persistObjects
in interfacePersister
- Throws:
InterruptedException
BackupRestoreException
-
isSuitableForExporter
public static boolean isSuitableForExporter(ExportableEntityInfo entityInfo, Set<Class<?>> simpleEntities)
-
getEntityInfo
public ExportableEntityInfo 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
public ExportableEntityInfo getEntityInfo(Class<?> exportedClass)
Description copied from interface:Exporter
Returns default entity info for the particular class.- Specified by:
getEntityInfo
in interfaceExporter
-
-