Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2556

[DUPLICATE] Provide an EntityPropertyChangesSubscriber to receive all property changes for an entity in a single callback.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 2.1.0, 3.1.0
    • None
    • None

    Description

      At the moment EntityPropertyChangesPublisher gets all of the property changes and notifies any enlisted EntityPropertyChangeSubscriber's of each and every property change for each and every entity (M x N)

      It would be nice to support more coarse-grained subscribers too (still to be invoked by EntityPropertyChangesPublisher).

      1. to obtain all EntityPropertyChange's for a given entity (so called N times, one for each entity
      2. to obtain all EntityPropertChange's in the interaction (so called just 1 time, for everything thta's changed).

      That would then allow auditing implemetnations that, for example, construct a JSON document and store in MongoDB, say.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: