Technical architecture
#Storage events
Storage events are dispatched in the PIM when you manipulate data using the savers and removers services. They are basically useful if you want to add your business logic before or after an object is saved or removed.
Here is a list of all the events:
#akeneo.storage.pre_remove
Event Class: RemoveEvent
This event is dispatched before we remove an object using a remover.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
0 |
|
0 |
|
0 |
|
RuleRelationSubscriber (Enterprise edition) |
0 |
RemoveChannelSubscriber (Enterprise edition) |
0 |
CheckPublishedProductOnRemovalSubscriber (Enterprise edition) |
0 |
AssetEventSubscriber (Enterprise edition) |
0 |
CatalogUpdatesSubscriber (Enterprise edition) |
0 |
ProjectSubscriber (Enterprise edition) |
0 |
CheckPublishedProductOnRemovalSubscriber (Enterprise edition) |
0 |
#akeneo.storage.post_remove
Event Class: RemoveEvent
This event is dispatched after we have removed an object using a remover.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
0 |
|
0 |
#akeneo.storage.pre_remove_all
Event Class: RemoveEvent
This event is dispatched before we remove a pool of objects using the removeAll function of the saver.
#akeneo.storage.post_remove_all
Event Class: RemoveEvent
This event is dispatched after we have removed a pool of objects using the removeAll function of the saver.
#akeneo.storage.pre_save
Event Class: GenericEvent
This event is dispatched before we save an object using a saver, either when saving one object or a pool of objects, using save and saveAll methods of the saver.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
0 |
|
0 |
|
0 |
|
MergeNotGrantedProductDataSubscriber (Enterprise edition) |
0 |
ProjectSubscriber (Enterprise edition) |
0 |
EnsureProductDraftGlobalStatusSubscriber (Enterprise edition) |
0 |
#akeneo.storage.post_save
Event Class: GenericEvent
This event is dispatched after we have saved an object using a saver, either when saving one object or a pool of objects, using save and saveAll methods of the saver.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
0 |
|
0 |
|
CatalogUpdatesSubscriber (Enterprise edition) |
0 |
ImportProposalsSubscriber (Enterprise edition) |
0 |
#akeneo.storage.pre_save_all
Event Class: GenericEvent
This event is dispatched before we save a pool of objects using the saveAll function of the saver.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
AddAttributeGroupPermissionsSubscriber (Enterprise edition) |
0 |
AddCategoryPermissionsSubscriber (Enterprise edition) |
0 |
#akeneo.storage.post_save_all
Event Class: GenericEvent
This event is dispatched after we have saved a pool of objects using the saveAll function of the saver.
These are the built-in PIM subscribers registered to this event:
Listener Class Name |
Priority |
---|---|
0 |
|
0 |
|
AddAttributeGroupPermissionsSubscriber (Enterprise edition) |
0 |
AddCategoryPermissionsSubscriber (Enterprise edition) |
0 |
Found a typo or a hole in the documentation and feel like contributing?
Join us on Github!