Class PersisterHelper
java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.persisters.PersisterHelper
- Direct Known Subclasses:
ContentPersisterHelper
,PageTemplatePersisterHelper
Some useful operations to help with a Persister
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getNotEmptyDependencies
(ImportedObjectV2 importedObject, Class<?> className) protected void
logInformationAboutNotPersistedObject
(ImportedObjectV2 importedObject, SkippedObjectsReason skippedObjectsReason, Collection<HibernateField> notSatisfiedDependencies)
-
Constructor Details
-
PersisterHelper
-
-
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
-