Class PersisterHelper
- 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 Summary
Constructors Constructor Description PersisterHelper(OnObjectsProcessingHandler onObjectsProcessingHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBatchSize()
Collection<HibernateField>
getNotEmptyDependencies(ImportedObjectV2 importedObject, Class<?> className)
protected void
logInformationAboutNotPersistedObject(ImportedObjectV2 importedObject, SkippedObjectsReason skippedObjectsReason, Collection<HibernateField> notSatisfiedDependencies)
-
-
-
Constructor Detail
-
PersisterHelper
public PersisterHelper(OnObjectsProcessingHandler onObjectsProcessingHandler)
-
-
Method Detail
-
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
-
-