[FEATURE] Introduce afterPersistObjetct signal slot 38/31238/4
authorNico de Haen <mail@ndh-websolutions.de>
Sun, 29 Jun 2014 22:11:09 +0000 (00:11 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 1 Jul 2014 19:07:23 +0000 (21:07 +0200)
commita9410acdf17187e494f687f49e747c88e94349fb
tree54ff015edb2fe6943e4e25aa546d05586776d222
parent3cbf470351eb2f7573ad5b79b1154f8232572ca2
[FEATURE] Introduce afterPersistObjetct signal slot

At the moment we only have an afterUpdate signal which
is emitted when an object is updated. But we don't have
a signal which is emitted after persisting an existing
aggregate root, if only sub objects or object storages
belonging to the aggregate root are updated.

Since the aggregate root should "encapsulate" the contained
objects to the outer world, we should provide such a signal,
which is fired if all objects of an aggregate root are persisted.

The same signal is emitted in the persistObject method in
the AbstractBackend class in Flow.

Change-Id: I85b2257b127f73afddbf4a01db156ed30489c42a
Resolves: #59986
Releases: 6.3
Reviewed-on: https://review.typo3.org/31238
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php