Class AttributeRecordsGenerator
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.persisters.AttributeRecordsGenerator
-
public class AttributeRecordsGenerator extends Object
GeneratesImportedObjectV2
records for cwd_directory_attribute and cwd_application_attribute tables, so they could be saved to the DB. This information is taken from `attributes` collection (map). We use this collection in both legacy and new backups.- Since:
- 8.3.0
-
-
Constructor Summary
Constructors Constructor Description AttributeRecordsGenerator(ExportableEntityInfo attributeEntityInfo, String idPropertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ImportedObjectV2>
prepareAttributeRecords(ImportedObjectV2 importedObjectV2)
-
-
-
Constructor Detail
-
AttributeRecordsGenerator
public AttributeRecordsGenerator(ExportableEntityInfo attributeEntityInfo, String idPropertyName)
-
-
Method Detail
-
prepareAttributeRecords
public Collection<ImportedObjectV2> prepareAttributeRecords(ImportedObjectV2 importedObjectV2) throws BackupRestoreException
- Throws:
BackupRestoreException
-
-