public class

HibernateKeyPersister

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

Class Overview

Persister for legacy HibernateKey objects that need to be converted to AliasedKeys on import.

Summary

Public Constructors
HibernateKeyPersister()
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 HibernateKeyPersister ()

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
HibernateException