public class DocumentRoutingEscalationServiceImpl extends Object implements DocumentRoutingEscalationService
Modifier and Type | Class and Description |
---|---|
static class |
DocumentRoutingEscalationServiceImpl.EscalationRuleWork |
Modifier and Type | Field and Description |
---|---|
static String |
queryForSuspendedNodesWithEscalation |
Constructor and Description |
---|
DocumentRoutingEscalationServiceImpl() |
Modifier and Type | Method and 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.
|
public static final String queryForSuspendedNodesWithEscalation
public DocumentRoutingEscalationServiceImpl()
public List<String> queryForSuspendedNodesWithEscalation(CoreSession session) throws ClientException
DocumentRoutingEscalationService
queryForSuspendedNodesWithEscalation
in interface DocumentRoutingEscalationService
ClientException
public List<GraphNode.EscalationRule> computeEscalationRulesToExecute(GraphNode node) throws ClientException
DocumentRoutingEscalationService
computeEscalationRulesToExecute
in interface DocumentRoutingEscalationService
ClientException
public void scheduleExecution(GraphNode.EscalationRule rule, CoreSession session)
DocumentRoutingEscalationService
scheduleExecution
in interface DocumentRoutingEscalationService
Copyright © 2013 Nuxeo SA. All Rights Reserved.