Liferay 7-DXP Model Listener Hook
Model Listener is used to listen to Liferay Model Events. We can perform custom action on Before/After the persistence event of Model objects using Model Listener. Model Listeners implement ModelListener interface. They are useful in terms of processing, custom login on Model objects while they are added/updated/removed. For ex, if we want to perform any specific action before User is created then we can implement the Model Listener for User model and perform actions on onBeforeCreate...
