Class PropertySetItemPersister
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.persister.PropertySetItemPersister
- All Implemented Interfaces:
ObjectPersister
Deprecated.
since 7.17.0
Persister for PropertySet items that handles some rather hairy upgrade logic, for example the rewriting of
IDs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpersist
(ImportProcessorContext context, ImportedObject object) Deprecated.Persist a given imported object.
-
Constructor Details
-
PropertySetItemPersister
public PropertySetItemPersister()Deprecated.
-
-
Method Details
-
persist
public List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject object) throws Exception Deprecated.Description copied from interface:ObjectPersister
Persist a given imported object.- Specified by:
persist
in interfaceObjectPersister
- 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.
-