Class PublishRelationsListener

  • All Implemented Interfaces:
    EventListener

    public class PublishRelationsListener
    extends Object
    implements EventListener
    Core Event listener to copy relations affecting the source document to the proxy upon publication events and the relations that were present on the replaced proxies if any. If this core event listener is used in combination with another core event listener that cleans relation on deleted documents, it should be executed before the cleaning listener so as to be able to copy relations from the deleted proxies. This core event listener cannot work in asynchronous or post commit mode.
    Author:
    ogrisel