Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.ecm.platform.routing.comments.listener

Resolution Order

748
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.platform.routing.comments.listener">

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

    <listener name="updateCommentsInfoListener" async="false"
      postCommit="false"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingUpdateCommentsInfoListener"
      priority="120">
      <event>commentAdded</event>
      <event>commentRemoved</event>
    </listener>

    <listener name="routeCreatedListener" async="false"
      postCommit="false"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteCreationListener"
      priority="200">
      <event>documentCreated</event>
    </listener>

    <listener name="securityListener" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingSecurityListener"
      priority="120">
      <event>beforeRouteReady</event>
    </listener>

    <listener name="routingSecurityUpdaterForActors" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskSecurityUpdaterListener"
      priority="250">
      <event>workflowTaskAssigned</event>
      <event>workflowTaskReassigned</event>
      <event>workflowTaskDelegated</event>
    </listener>

    <listener name="triggerEsclationRules" async="true"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener">
      <event>executeEscalationRules</event>
    </listener>

    <listener name="cleanOpenTasksOnWorkflowDone" async="true"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingWorkflowDoneListener">
      <event>afterRouteFinish</event>
    </listener>

    <listener name="deleteRoutingTaskListener" async="true"
      class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskDeletedListener">
      <event>aboutToRemove</event>
    </listener>

    <!-- Disabled since 2023, tasks cleanup is done by DocumentRouteOrphanedListener -->
    <listener name="removeTasksForDeletedDocumentRoute" async="true" postCommit="true" enabled="false"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteDeletedListener">
      <event>documentRemoved</event>
    </listener>
    
    <listener name="removeDocumentRoutesForDeletedDocument" async="true" postCommit="true"
      class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteOrphanedListener">
      <event>documentRemoved</event>
    </listener>

  </extension>

</component>