Kodall
Data Modeling

Lifecycle of entity records

In Kodall the entity's life cycle has the following stages Insert, Update and Delete. Each stage is divided into three phases Before, After and Complete.

In Kodall the entity's life cycle has the following stages Insert, Update and Delete. Each stage is divided into three phases Before, After and Complete.

The Kodall event system is responsible for routing events to consumers. An event is triggered for each phase of each stage, the event name is a concatenation of the phase and stage, as follows:

PhaseBlocking behaviorInsertUpdateDelete
BeforeBlockingOnBeforeInsertOnBeforeUpdateOnBeforeDelete
AfterBlockingOnAfterInsertOnAfterUpdateOnAfterDelete
CompleteNon-blockingOnCompleteInsertOnCompleteUpdateOnCompleteDelete