Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.relations.core.listener

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.relations.core.listener" version="1.0.0">

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
    point="listener">

    <documentation>
      Deletes existing relations on a document when it is removed.
    </documentation>

    <!-- NXP-4951: disable this listener for most common use cases -->
    <!-- 
      <listener name="publishRelationsListener" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.relations.core.listener.PublishRelationsListener"
      priority="-50">
      <event>documentProxyPublished</event>
      </listener>
    -->

    <listener name="deleteRelationsListener" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.relations.core.listener.DeleteRelationsListener"
      priority="-40">
      <event>documentRemoved</event>
    </listener>

  </extension>

</component>

Documentation