public class HibernateContentPermissionPersister extends AbstractObjectPersister implements ObjectPersister
ContentPermission
instances, in a way that does not
violate any unique constraints.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
entityPersister, importedObject, persisterOperations, unsatisfiedObjectDependencies
Constructor and Description |
---|
HibernateContentPermissionPersister() |
Modifier and Type | Method and Description |
---|---|
List<TransientHibernateHandle> |
persist(ImportProcessorContext context,
ImportedObject importedObject)
Persist a given imported object.
|
getPrimitivePropertyValue, getReferencePropertyValue
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–2016 Atlassian. All rights reserved.