@@ -128,65 +128,65 @@ The DocumentManager and UnitOfWork trigger several events during
128
128
the life-time of their registered documents.
129
129
130
130
-
131
- preRemove - The preRemove event occurs for a given document before
131
+ `` preRemove `` - The preRemove event occurs for a given document before
132
132
the respective DocumentManager remove operation for that document
133
133
is executed.
134
134
-
135
- postRemove - The postRemove event occurs for a document after the
135
+ `` postRemove `` - The postRemove event occurs for a document after the
136
136
document has been removed. It will be invoked after the database
137
137
delete operations.
138
138
-
139
- prePersist - The prePersist event occurs for a given document
139
+ `` prePersist `` - The prePersist event occurs for a given document
140
140
before the respective DocumentManager persist operation for that
141
141
document is executed.
142
142
-
143
- postPersist - The postPersist event occurs for a document after
143
+ `` postPersist `` - The postPersist event occurs for a document after
144
144
the document has been made persistent. It will be invoked after the
145
145
database insert operations. Generated primary key values are
146
146
available in the postPersist event.
147
147
-
148
- preUpdate - The preUpdate event occurs before the database update
148
+ `` preUpdate `` - The preUpdate event occurs before the database update
149
149
operations to document data.
150
150
-
151
- postUpdate - The postUpdate event occurs after the database update
151
+ `` postUpdate `` - The postUpdate event occurs after the database update
152
152
operations to document data.
153
153
-
154
- preLoad - The preLoad event occurs for a document before the
154
+ `` preLoad `` - The preLoad event occurs for a document before the
155
155
document has been loaded into the current DocumentManager from the
156
156
database or after the refresh operation has been applied to it.
157
157
-
158
- postLoad - The postLoad event occurs for a document after the
158
+ `` postLoad `` - The postLoad event occurs for a document after the
159
159
document has been loaded into the current DocumentManager from the
160
160
database or after the refresh operation has been applied to it.
161
161
-
162
- loadClassMetadata - The loadClassMetadata event occurs after the
162
+ `` loadClassMetadata `` - The loadClassMetadata event occurs after the
163
163
mapping metadata for a class has been loaded from a mapping source
164
164
(attributes/xml).
165
165
-
166
- onClassMetadataNotFound - Loading class metadata for a particular
166
+ `` onClassMetadataNotFound `` - Loading class metadata for a particular
167
167
requested class name failed. Manipulating the given event args instance
168
168
allows providing fallback metadata even when no actual metadata exists
169
169
or could be found. This event is not a lifecycle callback. Support for this
170
170
event was added in MongoDB ODM 1.3.
171
171
-
172
- preFlush - The preFlush event occurs before the change-sets of all
172
+ `` preFlush `` - The preFlush event occurs before the change-sets of all
173
173
managed documents are computed. This both a lifecycle call back and
174
174
and listener.
175
175
-
176
- postFlush - The postFlush event occurs after the change-sets of all
176
+ `` postFlush `` - The postFlush event occurs after the change-sets of all
177
177
managed documents are computed.
178
178
-
179
- onFlush - The onFlush event occurs after the change-sets of all
179
+ `` onFlush `` - The onFlush event occurs after the change-sets of all
180
180
managed documents are computed. This event is not a lifecycle
181
181
callback.
182
182
-
183
- onClear - The onClear event occurs after the UnitOfWork has had
183
+ `` onClear `` - The onClear event occurs after the UnitOfWork has had
184
184
its state cleared.
185
185
-
186
- documentNotFound - The documentNotFound event occurs when a proxy object
186
+ `` documentNotFound `` - The documentNotFound event occurs when a proxy object
187
187
could not be initialized. This event is not a lifecycle callback.
188
188
-
189
- postCollectionLoad - The postCollectionLoad event occurs just after
189
+ `` postCollectionLoad `` - The postCollectionLoad event occurs just after
190
190
collection has been initialized (loaded) and before new elements
191
191
are re-added to it.
192
192
0 commit comments