Class DocumentRouteDeletedListener
java.lang.Object
org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteDeletedListener
- All Implemented Interfaces:
PostCommitEventListener
@Deprecated
public class DocumentRouteDeletedListener
extends Object
implements PostCommitEventListener
Deprecated.
Listener that deletes orphan Tasks.
- Since:
- 11.1, deprecated since 2023, tasks clean up is done by @{link DocumentRouteOrphanedListener}
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteOrphanTasks
(CoreSession session, String id) Deprecated.Deletes all tasks whose process id matches the given DocumentRoute id.void
handleEvent
(EventBundle events) Deprecated.Handles the set of events that were raised during the life of an user operation.
-
Field Details
-
QUERY_GET_TASKS_RELATED_TO_DOCUMENT_ROUTE
Deprecated.- See Also:
-
-
Constructor Details
-
DocumentRouteDeletedListener
public DocumentRouteDeletedListener()Deprecated.
-
-
Method Details
-
handleEvent
Deprecated.Description copied from interface:PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.The events are fired as a
BundleEvent
after the transaction is committed.- Specified by:
handleEvent
in interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-
deleteOrphanTasks
Deprecated.Deletes all tasks whose process id matches the given DocumentRoute id.- Since:
- 11.1
-