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:
  • Field Details

    • 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:
  • Constructor Details

    • FlexRM

      public FlexRM()
    • FlexRM

      public FlexRM(Timestamp effectiveDate)
  • Method Details

    • 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 header
      nodeInstance - the route node instance; this may NOT be null
      ruleTemplateName - the rule template
      Returns:
      list of action requests
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • getActionRequests

      public List<ActionRequestValue> getActionRequests(DocumentRouteHeaderValue routeHeader, RouteNode routeNodeDef, RouteNodeInstance nodeInstance, String ruleTemplateName)
      Generates action requests
      Parameters:
      routeHeader - the document route header
      routeNodeDef - the RouteNode definition of the route node instance
      nodeInstance - the route node instance; this may be null!
      ruleTemplateName - the rule template
      Returns:
      list of action requests
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • resolveResponsibilityId

      public ResponsibleParty resolveResponsibilityId(String responsibilityId)
    • makeActionRequests

      public void makeActionRequests(ActionRequestFactory arFactory, List<org.kuali.rice.kew.api.rule.RuleResponsibility> responsibilities, RouteContext context, org.kuali.rice.kew.api.rule.Rule rule, DocumentRouteHeaderValue routeHeader, ActionRequestValue parentRequest, org.kuali.rice.kew.api.rule.RuleDelegation ruleDelegation)
    • getRuleService

      public org.kuali.rice.kew.api.rule.RuleService getRuleService()
    • getNumberOfMatchingRules

      public int getNumberOfMatchingRules()