I need to run custom code whenever an Journal Article expires in Liferay (in Java).
How can I register a callback function which gets called when an Journal Article changes its state from approved to expired?
So I need to call a Java method which would receive the Article which expired as its parameter, or at least the Article's id. Any ideas?