java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.idmapping.FakeObjectProvider

public class FakeObjectProvider extends Object
Creates map of an empty objects for id generation for all entities that could be restored during space restore
Since:
8.1.0
  • Constructor Details

  • Method Details

    • getFakeObjectForIdGeneration

      public Object getFakeObjectForIdGeneration(Class<?> entityClass)
      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