Developers have been creating model listeners for several Liferay Portal versions. Upgrading Model Listener Hooks from previous portal versions has never been easier.
Adapt your code to Liferay DXP 7.0’s API using the Liferay Upgrade Planner. When you ran the planner’s Fix Upgrade Problems step, many of the existing issues were autocorrected or flagged. For any remaining errors, consult the Resolving a Plugin’s Dependencies article.
Deploy the plugin.
Liferay DXP’s Plugin Compatibility Layer converts the plugin WAR to a Web Application Bundle (WAB) and installs it to Liferay’s OSGi Runtime.
Your model listener hook is “all ears” and ready to act.
Resolving a Plugin’s Dependencies