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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFakeObjectForIdGeneration(Class<?> entityClass) Provides fake object required for Hibernate to use the proper id generator
- 
Constructor Details- 
FakeObjectProviderpublic FakeObjectProvider(Collection<ExportableEntityInfo> importableEntitiesInfo) throws BackupRestoreException - Throws:
- BackupRestoreException
 
 
- 
- 
Method Details- 
getFakeObjectForIdGenerationProvides 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
 
 
-