Open topic with navigation
Possible Usecases
There are many use cases for external callbacks,
including:
- Cascaded deletes, updates.
- Referential integrity checks.
- Gathering statistics.
- Auto assigned fields .
- Assigning customary unique IDs for external referencing.
- Delayed deletion (objects are marked for deletion when
delete(object) is called and cleaned out of database in a later maintenance
operation).
- Ensuring object fields uniqueness within the same class
etc.
More Reading: