Class HibernateMembershipPersister
- java.lang.Object
-
- com.atlassian.confluence.importexport.xmlimport.persister.AbstractObjectPersister
-
- com.atlassian.confluence.importexport.xmlimport.persister.HibernateMembershipPersister
-
- All Implemented Interfaces:
ObjectPersister
@Deprecated public class HibernateMembershipPersister extends AbstractObjectPersister implements ObjectPersister
Deprecated.since 7.17.0PersistsHibernateMembership
instances, in a way that does not violate any unique constraints.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
Deprecated.-
Fields inherited from class com.atlassian.confluence.importexport.xmlimport.persister.AbstractObjectPersister
entityPersister, importedObject, NAME_BUCKET_CLOB_STRING_TYPE, NAME_CRYPTOGRAPHIC_KEY_TYPE, NAME_CUSTOM_CLOB_TYPE, NAME_INSTANT_TYPE, NAME_NAMESPACE_USER_TYPE, NAME_SPOOLING_BLOB_INPUT_STREAM_TYPE, NAME_USER_KEY_TYPE, persisterOperations, unsatisfiedObjectDependencies
-
-
Constructor Summary
Constructors Constructor Description HibernateMembershipPersister()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<TransientHibernateHandle>
persist(ImportProcessorContext context, ImportedObject importedObject)
Deprecated.Persist a given imported object.-
Methods inherited from class com.atlassian.confluence.importexport.xmlimport.persister.AbstractObjectPersister
getPrimitivePropertyValue, getReferencePropertyValue
-
-
-
-
Method Detail
-
persist
public List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject importedObject) 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 operationimportedObject
- 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.
-
-