public class ReflectiveObjectPersister extends AbstractObjectPersister implements ObjectPersister
PropertySetItemPersister
.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
persisterOperations, unsatisfiedObjectDependencies
Constructor and Description |
---|
ReflectiveObjectPersister(LabelManager labelManager,
ConfluenceUserDao confluenceUserDao,
StorageFormatUserRewriter storageFormatUserRewriter) |
Modifier and Type | Method and Description |
---|---|
List<TransientHibernateHandle> |
persist(ImportProcessorContext context,
ImportedObject importedObject)
Persist a given imported object.
|
getPrimitivePropertyValue, getReferencePropertyValue
public ReflectiveObjectPersister(LabelManager labelManager, ConfluenceUserDao confluenceUserDao, StorageFormatUserRewriter storageFormatUserRewriter)
public List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject importedObject) throws Exception
ObjectPersister
persist
in interface ObjectPersister
context
- the context of the current import operationimportedObject
- the object to save.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–2015 Atlassian. All rights reserved.