Package de.caluga.morphium.annotations.lifecycle
-
Annotation Types Summary Annotation Type Description Lifecycle Just a marker that this Entity does contain lifecycle method Lifecycle methods won't be called, if this annotation is not present (performance reasons).PostLoad PostRemove PostStore PostUpdate will be called, after this object was updated by a direct call to update won't be called, when updates are done query based.PreRemove PreStore PreUpdate will be called, before a single object is updated (this obect to be exact) Unfortuately, it can't be called when a query based update is executed