Domain Event Classes

Domain events are broadcast through the EventBusService whenever the framework interacts with the domain object members.

They allow subscribers to change either veto the interaction, or to trigger other operations as a result of the interaction.

Table 1. Domain Event Classes
API Event class defined by Published when

AbstractDomainEvent

n/a

n/a - superclass of the other domain events.

ActionDomainEvent

@Action#domainEvent()

interact with (hide, disable, validate, pre-execute, post-execute) an object’s action.

CollectionDomainEvent

@Collection#domainEvent()

hide an object’s collection.

PropertyDomainEvent

@Property#domainEvent()

interact with (hide, disable, validate, pre-edit, post-edit) an object’s property.