@API(status=INTERNAL, since="6.0") public final class ReactiveIdGeneratingBeforeBindCallback extends Object implements ReactiveBeforeBindCallback<Object>, Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ReactiveIdGeneratingBeforeBindCallback(Neo4jMappingContext neo4jMappingContext) |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
org.reactivestreams.Publisher<Object> |
onBeforeBind(Object entity)
Entity callback method invoked before a domain object is saved.
|
public ReactiveIdGeneratingBeforeBindCallback(Neo4jMappingContext neo4jMappingContext)
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–2020 Neo4j, Neo4j Sweden AB. All rights reserved.