Platform Explorer / Nuxeo Platform LTS 2015 7.10

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-7.10-HF07.jar /OSGI-INF/lifecycle-listener-contrib.xml

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.

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>