org.kuali.rice.kew.rule
Class FlexRM
java.lang.Object
org.kuali.rice.kew.rule.FlexRM
- Direct Known Subclasses:
- FlexRMAdapter
public class FlexRM
- extends Object
Generates Action Requests for a Document using the rule system and the specified
RuleTemplateBo
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
ActionRequestValue
,
RuleTemplateBo
,
RuleBaseValues
Field Summary |
static String |
DEFAULT_RULE_SELECTOR
The default type of rule selector implementation to use if none is explicitly
specified for the node. |
Method Summary |
List<ActionRequestValue> |
getActionRequests(DocumentRouteHeaderValue routeHeader,
RouteNodeInstance nodeInstance,
String ruleTemplateName)
Generates action requests |
List<ActionRequestValue> |
getActionRequests(DocumentRouteHeaderValue routeHeader,
RouteNode routeNodeDef,
RouteNodeInstance nodeInstance,
String ruleTemplateName)
Generates action requests |
int |
getNumberOfMatchingRules()
|
RuleService |
getRuleService()
|
protected RuleSelector |
loadRuleSelector(RouteNode routeNodeDef,
RouteNodeInstance nodeInstance)
|
void |
makeActionRequests(ActionRequestFactory arFactory,
List<RuleResponsibility> responsibilities,
RouteContext context,
Rule rule,
DocumentRouteHeaderValue routeHeader,
ActionRequestValue parentRequest,
RuleDelegation ruleDelegation)
|
ResponsibleParty |
resolveResponsibilityId(String responsibilityId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RULE_SELECTOR
public static final String DEFAULT_RULE_SELECTOR
- The default type of rule selector implementation to use if none is explicitly
specified for the node.
- See Also:
- Constant Field Values
FlexRM
public FlexRM()
FlexRM
public FlexRM(Timestamp effectiveDate)
loadRuleSelector
protected RuleSelector loadRuleSelector(RouteNode routeNodeDef,
RouteNodeInstance nodeInstance)
getActionRequests
public List<ActionRequestValue> getActionRequests(DocumentRouteHeaderValue routeHeader,
RouteNodeInstance nodeInstance,
String ruleTemplateName)
- Generates action requests
- Parameters:
routeHeader
- the document route headernodeInstance
- the route node instance; this may NOT be nullruleTemplateName
- the rule template
- Returns:
- list of action requests
- Throws:
WorkflowException
getActionRequests
public List<ActionRequestValue> getActionRequests(DocumentRouteHeaderValue routeHeader,
RouteNode routeNodeDef,
RouteNodeInstance nodeInstance,
String ruleTemplateName)
- Generates action requests
- Parameters:
routeHeader
- the document route headerrouteNodeDef
- the RouteNode definition of the route node instancenodeInstance
- the route node instance; this may be null!ruleTemplateName
- the rule template
- Returns:
- list of action requests
- Throws:
WorkflowException
resolveResponsibilityId
public ResponsibleParty resolveResponsibilityId(String responsibilityId)
makeActionRequests
public void makeActionRequests(ActionRequestFactory arFactory,
List<RuleResponsibility> responsibilities,
RouteContext context,
Rule rule,
DocumentRouteHeaderValue routeHeader,
ActionRequestValue parentRequest,
RuleDelegation ruleDelegation)
getRuleService
public RuleService getRuleService()
getNumberOfMatchingRules
public int getNumberOfMatchingRules()
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.