Platform Explorer / Nuxeo Platform 2021.53

Contribution org.nuxeo.ecm.core.event.lifecycle.listener--listener

This contribution is part of XML component org.nuxeo.ecm.core.event.lifecycle.listener inside nuxeo-core-2021.53.3.jar /OSGI-INF/lifecycle-listener-contrib.xml

Documentation

Listener for life cycle change events.

If event occurs on a folder, it will recurse on children to perform the same transition if possible.

If the transition event is about marking documents as "deleted", and a child cannot perform the transition, it will be removed.

Undelete transitions are not recursed on the children, however a special documentUndeleted event has the same role and is processed by this listener.

Extension Point

Extension point listener of component EventServiceComponent.

Registration Order

6
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.ecm.core.lifecycle.event.BulkLifeCycleChangeListener" name="bulkLifeCycleChangeListener" postCommit="true">
          <event>lifecycle_transition_event</event>
          <event>documentUndeleted</event>
          <event>documentCreatedByCopy</event>
        </listener>

XML Source

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

    <documentation>
      Listener for life cycle change events.

      If event occurs on a folder, it will recurse on children to perform the
      same transition if possible.

      If the transition event is about marking documents as "deleted", and a
      child cannot perform the transition, it will be removed.

      Undelete transitions are not recursed on the children, however a special
      documentUndeleted event has the same role and is processed by this listener.
    </documentation>
    <listener async="true" class="org.nuxeo.ecm.core.lifecycle.event.BulkLifeCycleChangeListener" name="bulkLifeCycleChangeListener" postCommit="true">
      <event>lifecycle_transition_event</event>
      <event>documentUndeleted</event>
      <event>documentCreatedByCopy</event>
    </listener>

  </extension>