AuditingBeforeBindCallback
.@API(status=DEPRECATED, since="6.0") @Deprecated public final class ReactiveAuditingBeforeBindCallback extends Object implements ReactiveBeforeBindCallback<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 |
---|
ReactiveAuditingBeforeBindCallback(ObjectFactory<ReactiveIsNewAwareAuditingHandler> auditingHandlerFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Deprecated.
|
org.reactivestreams.Publisher<Object> |
onBeforeBind(Object entity)
Deprecated.
Entity callback method invoked before a domain object is saved.
|
public ReactiveAuditingBeforeBindCallback(ObjectFactory<ReactiveIsNewAwareAuditingHandler> auditingHandlerFactory)
public org.reactivestreams.Publisher<Object> onBeforeBind(Object entity)
ReactiveBeforeBindCallback
entity
to a Map
, so the
outcome of this callback is used to create the record for the domain object.onBeforeBind
in interface ReactiveBeforeBindCallback<Object>
entity
- the domain object to save.Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.