Class DocumentRoutingEscalationServiceImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingEscalationServiceImpl
-
- All Implemented Interfaces:
DocumentRoutingEscalationService
public class DocumentRoutingEscalationServiceImpl extends Object implements DocumentRoutingEscalationService
- Since:
- 5.7.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentRoutingEscalationServiceImpl.EscalationRuleWork
-
Field Summary
Fields Modifier and Type Field Description static String
queryForSuspendedNodesWithEscalation
-
Constructor Summary
Constructors Constructor Description DocumentRoutingEscalationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GraphNode.EscalationRule>
computeEscalationRulesToExecute(GraphNode node)
Computes the list of escalation rules to be executed after their conditions are evaluated for the given node.List<String>
queryForSuspendedNodesWithEscalation(CoreSession session)
Query all running workflows and returns a list of nodes that are suspended and have escalation rules that can be inspected.void
scheduleExecution(GraphNode.EscalationRule rule, CoreSession session)
Schedules for execution an escalation rule.
-
-
-
Field Detail
-
queryForSuspendedNodesWithEscalation
public static final String queryForSuspendedNodesWithEscalation
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentRoutingEscalationServiceImpl
public DocumentRoutingEscalationServiceImpl()
-
-
Method Detail
-
queryForSuspendedNodesWithEscalation
public List<String> queryForSuspendedNodesWithEscalation(CoreSession session)
Description copied from interface:DocumentRoutingEscalationService
Query all running workflows and returns a list of nodes that are suspended and have escalation rules that can be inspected. Uses an unrestricted session.- Specified by:
queryForSuspendedNodesWithEscalation
in interfaceDocumentRoutingEscalationService
-
computeEscalationRulesToExecute
public List<GraphNode.EscalationRule> computeEscalationRulesToExecute(GraphNode node)
Description copied from interface:DocumentRoutingEscalationService
Computes the list of escalation rules to be executed after their conditions are evaluated for the given node.- Specified by:
computeEscalationRulesToExecute
in interfaceDocumentRoutingEscalationService
-
scheduleExecution
public void scheduleExecution(GraphNode.EscalationRule rule, CoreSession session)
Description copied from interface:DocumentRoutingEscalationService
Schedules for execution an escalation rule. Uses an unrestricted session.- Specified by:
scheduleExecution
in interfaceDocumentRoutingEscalationService
-
-