Platform Explorer / Nuxeo Platform 2021.47

Contribution org.nuxeo.coldstorage.events.contrib--listener

This contribution is part of XML component org.nuxeo.coldstorage.events.contrib inside nuxeo-coldstorage-2021.3.2.jar /OSGI-INF/coldstorage-events-contrib.xml

Extension Point

Extension point listener of component EventServiceComponent.

Registration Order

4
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <listener async="true" class="org.nuxeo.coldstorage.events.CheckColdStorageContentAvailabilityListener" name="checkColdStorageContentAvailability">
          <event>checkColdStorageContentAvailability</event>
        </listener>
  • <listener class="org.nuxeo.coldstorage.events.PreventColdStorageUpdateListener" name="preventColdStorageUpdateListener" priority="0">
          <event>beforeDocumentModification</event>
        </listener>
  • <listener class="org.nuxeo.coldstorage.events.DownloadColdDocumentListener" name="downloadColdDocumentListener" priority="400">
          <event>download</event>
        </listener>
  • <listener class="org.nuxeo.coldstorage.events.CheckAlreadyInColdStorageListener" name="checkAlreadyInColdStorageListener" priority="900">
          <event>documentModified</event>
          <event>documentCreated</event>
        </listener>

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    <listener async="true" class="org.nuxeo.coldstorage.events.CheckColdStorageContentAvailabilityListener" name="checkColdStorageContentAvailability">
      <event>checkColdStorageContentAvailability</event>
    </listener>
    <listener class="org.nuxeo.coldstorage.events.PreventColdStorageUpdateListener" name="preventColdStorageUpdateListener" priority="0">
      <event>beforeDocumentModification</event>
    </listener>
    <!-- StreamAuditEventListener has a priority of 500, less allows to be evaluated earlier -->
    <listener class="org.nuxeo.coldstorage.events.DownloadColdDocumentListener" name="downloadColdDocumentListener" priority="400">
      <event>download</event>
    </listener>
    <!-- UpdateThumbnailListener has a priority of 999, more allows to be evaluated later -->
    <listener class="org.nuxeo.coldstorage.events.CheckAlreadyInColdStorageListener" name="checkAlreadyInColdStorageListener" priority="900">
      <event>documentModified</event>
      <event>documentCreated</event>
    </listener>
  </extension>