Interface ObjectPersister
-
- All Known Implementing Classes:
AbstractObjectPersister
,ConfluenceUserPersister
,ContentPropertyPersister
,HibernateContentPermissionPersister
,HibernateKeyPersister
,HibernateMembershipPersister
,NoopPersister
,PropertySetItemPersister
,ReflectiveObjectPersister
@Deprecated public interface ObjectPersister
Deprecated.since 7.17.0.Handles the persistence of objects imported from a backup. TheDelegatingObjectPersisterFactory
is responsible for determining which persister should be used for which object. Most imported objects are handled by theReflectiveObjectPersister
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<TransientHibernateHandle>
persist(ImportProcessorContext context, ImportedObject object)
Deprecated.Persist a given imported object.
-
-
-
Method Detail
-
persist
List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject object) throws Exception
Deprecated.Persist a given imported object.- Parameters:
context
- the context of the current import operationobject
- the object to save.- Returns:
- a list of handles of the objects that were saved. If IDs are being rewritten on import, this list should still contain the pre-rewriting ID as it appears in the backup file
- Throws:
Exception
- if something goes wrong. To avoid duplication of "wrap everything in one exception type" code in every persister, it is assumed wrapping happens at a higher level.
-
-