Platform Explorer / Nuxeo Platform LTS 2015 7.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-7.10-HF06.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>