Platform Explorer / Nuxeo Platform 2021.52

Contribution org.nuxeo.ecm.platform.routing.comments.listener--listener

This contribution is part of XML component org.nuxeo.ecm.platform.routing.comments.listener inside nuxeo-routing-core-2021.52.8.jar /OSGI-INF/document-routing-listeners-contrib.xml

Extension Point

Extension point listener of component EventServiceComponent.

Registration Order

46
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="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingUpdateCommentsInfoListener" name="updateCommentsInfoListener" postCommit="false" priority="120">
          <event>commentAdded</event>
          <event>commentRemoved</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteCreationListener" name="routeCreatedListener" postCommit="false" priority="200">
          <event>documentCreated</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingSecurityListener" name="securityListener" postCommit="false" priority="120">
          <event>beforeRouteReady</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskSecurityUpdaterListener" name="routingSecurityUpdaterForActors" postCommit="false" priority="250">
          <event>workflowTaskAssigned</event>
          <event>workflowTaskReassigned</event>
          <event>workflowTaskDelegated</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener" name="triggerEsclationRules">
          <event>executeEscalationRules</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingWorkflowDoneListener" name="cleanOpenTasksOnWorkflowDone">
          <event>afterRouteFinish</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskDeletedListener" name="deleteRoutingTaskListener">
          <event>aboutToRemove</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteDeletedListener" enabled="false" name="removeTasksForDeletedDocumentRoute" postCommit="true">
          <event>documentRemoved</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteOrphanedListener" name="removeDocumentRoutesForDeletedDocument" postCommit="true">
          <event>documentRemoved</event>
        </listener>

XML Source

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

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

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

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

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

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

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

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

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

  </extension>