Package org.kuali.rice.kew.routemodule
Class FlexRMAdapter
java.lang.Object
org.kuali.rice.kew.rule.FlexRM
org.kuali.rice.kew.routemodule.FlexRMAdapter
- All Implemented Interfaces:
RouteModule
Adapts
FlexRM to the RouteModule interface.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.kew.rule.FlexRM
DEFAULT_RULE_SELECTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindActionRequests(RouteContext context) Generate action requests for the given RouteContext.booleanisMoreRequestsAvailable(RouteContext context) Returns true if this RouteModule has more requests available which it can generate.toString()Methods inherited from class org.kuali.rice.kew.rule.FlexRM
getActionRequests, getActionRequests, getNumberOfMatchingRules, getRuleService, loadRuleSelector, makeActionRequests, resolveResponsibilityIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.kew.routemodule.RouteModule
resolveResponsibilityId
-
Constructor Details
-
FlexRMAdapter
public FlexRMAdapter()
-
-
Method Details
-
findActionRequests
Description copied from interface:RouteModuleGenerate action requests for the given RouteContext.The list of requests returned should only contain root action requests (those with no parent).
- Specified by:
findActionRequestsin interfaceRouteModule- Returns:
- A List of the generated ActionRequestValue objects.
- Throws:
Exception
-
toString
-
isMoreRequestsAvailable
Description copied from interface:RouteModuleReturns true if this RouteModule has more requests available which it can generate. This method will only be called after the first set of action requests returned by the first invocation of findActionRequests have been fully activated. If this method returns true, findActionRequests will be invoked again and those requests will all be activated before the cycle continues until this method returns false;- Specified by:
isMoreRequestsAvailablein interfaceRouteModule- Parameters:
context- the route context- Returns:
- true if this route module has more requests it can generate, false otherwise
-