public class

PropertySetItemPersister

extends Object
implements ObjectPersister
java.lang.Object
   ↳ com.atlassian.confluence.importexport.xmlimport.persister.PropertySetItemPersister

Class Overview

Persister for PropertySet items that handles some rather hairy upgrade logic, for example the rewriting of IDs.

Summary

Public Constructors
PropertySetItemPersister()
Public Methods
List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject object)
Persist a given imported object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.importexport.xmlimport.ObjectPersister

Public Constructors

public PropertySetItemPersister ()

Public Methods

public List<TransientHibernateHandle> persist (ImportProcessorContext context, ImportedObject object)

Persist a given imported object.

Parameters
context the context of the current import operation
object 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