All work

Select view

Select search mode

 

Observation ObjectEvent

Duplicate

Description

We have implemented multiple Object specific observation events in the past (e.g. NavigationCreatedEvent, BlogCreatedEvent, CalendarCreatedEvent etc.).

This could be generalised with (local) Object events, matching on the XClass via an ObjectEventFilter:

The ObjectListener listens on Document events, analyses to object changes and then notifies Object events:

  • ObjectCreatingEvent on DocumentCreating/UpdatingEvent if an object is being added

  • ObjectCreatedEvent on DocumentCreated/UpdatedEvent if an object was added

  • ObjectUpdatingEvent on DocumentUpdatingEvent if an object is being updated

  • ObjectUpdatedEvent on DocumentUpdatedEvent if an object was updated

  • ObjectDeletingEvent on DocumentUpdating/DeletingEvent if an object is being deleted

  • ObjectDeletedEvent on DocumentUpdated/DeletedEvent if an object was deleted

If multiple objects for one class are modified, should multiple Events be thrown? If yes, objNb has to be handed over, e.g. in the data.

duplicates

Details

Priority

Assignee

Reporter

Sprint

Story Points

Components

Clockify

Created 6 October 2017 at 13:55
Updated 19 August 2019 at 06:07
Resolved 18 August 2019 at 20:50

Activity

Show: