- All Implemented Interfaces:
public class SynchronyEventsPersister
Persists a synchrony event object. The event object has a composite id, and thus, we need to write a custom
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public List<TransientHibernateHandle> persist(ImportProcessorContext context,
Persist a given imported object.
- Specified by:
persist in interface
context - the context of the current import operation
object - the object to save.
- 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
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.
Copyright © 2003–2019 Atlassian. All rights reserved.