Platform Explorer / Nuxeo Platform 2023.12

Component org.nuxeo.ecm.core.event.lifecycle.listener

Resolution Order

91
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.event.lifecycle.listener"
  version="1.0">

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

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

  </extension>

  <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
    <documentation>
      If true listener will recursive on children of document by paginate them.
      <p />
      Default behavior is to fetch all children once.

      @since 8.10-HF05, 9.2
    </documentation>
    <property name="nuxeo.bulkLifeCycleChangeListener.paginate-get-children">false</property>

    <documentation>
      If "nuxeo.bulkLifeCycleChangeListener.paginate-get-children" is true, this property set the page size for get
      children calls.

      @since 8.10-HF05, 9.2
    </documentation>
    <property name="nuxeo.bulkLifeCycleChangeListener.get-children-page-size">500</property>
  </extension>

</component>