AuditingBeforeBindCallback.@API(status=DEPRECATED,
since="6.0")
@Deprecated
public final class AuditingBeforeBindCallback
extends Object
implements BeforeBindCallback<Object>, Ordered
EntityCallback to populate auditing related fields on an entity about to be bound to a record.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AuditingBeforeBindCallback(ObjectFactory<IsNewAwareAuditingHandler> auditingHandlerFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder()
Deprecated.
|
Object |
onBeforeBind(Object entity)
Deprecated.
Entity callback method invoked before a domain object is saved.
|
public AuditingBeforeBindCallback(ObjectFactory<IsNewAwareAuditingHandler> auditingHandlerFactory)
public Object onBeforeBind(Object entity)
BeforeBindCallbackentity to a Map, so the
outcome of this callback is used to create the record for the domain object.onBeforeBind in interface BeforeBindCallback<Object>entity - the domain object to save.Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.