Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.picture.listeners--listener

This contribution is part of XML component org.nuxeo.ecm.platform.picture.listeners inside nuxeo-platform-imaging-core-9.10.jar /OSGI-INF/listeners-contrib.xml

Extension Point

Extension point listener of component EventServiceComponent.

Contributed Items

  • <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureChangedListener" name="pictureChangedListener" postCommit="false" priority="20">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.picture.listener.PictureViewListener" enabled="false" name="pictureViewListener" postCommit="true" priority="20">
          <event>updatePictureView</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureViewsGenerationListener" name="pictureViewsGenerationListener" postCommit="false" priority="20">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>

XML Source

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

    <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureChangedListener" name="pictureChangedListener" postCommit="false" priority="20">
      <event>aboutToCreate</event>
      <event>beforeDocumentModification</event>
    </listener>

    <!-- deprecated since 7.2 -->
    <listener async="true" class="org.nuxeo.ecm.platform.picture.listener.PictureViewListener" enabled="false" name="pictureViewListener" postCommit="true" priority="20">
      <event>updatePictureView</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureViewsGenerationListener" name="pictureViewsGenerationListener" postCommit="false" priority="20">
      <event>documentCreated</event>
      <event>documentModified</event>
    </listener>

  </extension>