Class FakeObjectProvider
java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.idmapping.FakeObjectProvider
Creates map of an empty objects for id generation for all entities that could be restored during space restore
- Since:
- 8.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFakeObjectForIdGeneration
(Class<?> entityClass) Provides fake object required for Hibernate to use the proper id generator
-
Constructor Details
-
FakeObjectProvider
public FakeObjectProvider(Collection<ExportableEntityInfo> importableEntitiesInfo) throws BackupRestoreException - Throws:
BackupRestoreException
-
-
Method Details
-
getFakeObjectForIdGeneration
Provides fake object required for Hibernate to use the proper id generator- Parameters:
entityClass
- Class whose id we need to generate- Returns:
- fake object required for Hibernate to use the proper id generator
-