com.atlassian.confluence.importexport.xmlimport.persister
Class HibernateKeyPersister
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.persister.HibernateKeyPersister
- All Implemented Interfaces:
- ObjectPersister
public class HibernateKeyPersister
- extends Object
- implements ObjectPersister
Persister for legacy HibernateKey objects that need to be converted to AliasedKeys on import.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateKeyPersister
public HibernateKeyPersister()
persist
public List<TransientHibernateHandle> persist(ImportProcessorContext context,
ImportedObject object)
throws net.sf.hibernate.HibernateException
- Description copied from interface:
ObjectPersister
- Persist a given imported object.
- Specified by:
persist
in interface ObjectPersister
- 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:
net.sf.hibernate.HibernateException
Copyright © 2003-2012 Atlassian. All Rights Reserved.