Skip to content

Commit 25c9e9d

Browse files
committed
Adjust documentation.
1 parent 45e9fd7 commit 25c9e9d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/main/asciidoc/reference/elasticsearch-entity-callbacks.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ Spring Data Elasticsearch uses the `EntityCallback` API internally for its audit
1313

1414
| Reactive/BeforeConvertCallback
1515
| `onBeforeConvert(T entity, IndexCoordinates index)`
16-
| Invoked before a domain object is converted to `org.springframework.data.elasticsearch.core.document.Document`. Can return the `entity` or a modified entity which then will be converted.
16+
| Invoked before a domain object is converted to `org.springframework.data.elasticsearch.core.document.Document`.
17+
Can return the `entity` or a modified entity which then will be converted.
18+
| `Ordered.LOWEST_PRECEDENCE`
19+
20+
| Reactive/AfterLoadCallback
21+
| `onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates)`
22+
| Invoked after the result from Elasticsearch has been read into a `org.springframework.data.elasticsearch.core.document.Document`.
1723
| `Ordered.LOWEST_PRECEDENCE`
1824

1925
| Reactive/AfterConvertCallback
@@ -32,4 +38,3 @@ Spring Data Elasticsearch uses the `EntityCallback` API internally for its audit
3238
| `Ordered.LOWEST_PRECEDENCE`
3339

3440
|===
35-

0 commit comments

Comments
 (0)