java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.persisters.PersisterHelper
Direct Known Subclasses:
ContentPersisterHelper, PageTemplatePersisterHelper

public class PersisterHelper extends Object
Some useful operations to help with a Persister
Since:
8.0.0
  • Constructor Details

  • Method Details

    • getBatchSize

      public int getBatchSize()
    • logInformationAboutNotPersistedObject

      protected void logInformationAboutNotPersistedObject(ImportedObjectV2 importedObject, SkippedObjectsReason skippedObjectsReason, Collection<HibernateField> notSatisfiedDependencies)
      Parameters:
      notSatisfiedDependencies - it is not used now, but will be used for extending the statistics in the future
    • getNotEmptyDependencies

      public Collection<HibernateField> getNotEmptyDependencies(ImportedObjectV2 importedObject, Class<?> className)
      Returns:
      all non-empty references