Page 1 of 1

Which "Service" will be called when saving the product ?

Posted: Mon Apr 14, 2014 11:05 am
by arun.ru
When we are saving the "Product" which "Service/API" will be called to save the product from the BLC Admin.

Want to know the name of the service method where this product will be saved.

Re: Which "Service" will be called when saving the product ?

Posted: Tue Apr 22, 2014 11:54 am
by phillipuniverse
The admin has a completely different save pipeline than what you would do on the frontend like with CatalogService. The main class I would look at is ProductCustomPersistenceHandler which intercepts those save actions.

For all other admin entities, if they do not have a custom persistence handler around them then they are saved by the BasicPersistenceModule (for maps there is the MapStructurePersistenceModule and for adorned collections there is the AdornedTargetListPersistenceModule).