public interface RouteModule
Modifier and Type | Method and Description |
---|---|
List<ActionRequestValue> |
findActionRequests(RouteContext context)
Generate action requests for the given RouteContext.
|
boolean |
isMoreRequestsAvailable(RouteContext context)
Returns true if this RouteModule has more requests available which it can generate.
|
ResponsibleParty |
resolveResponsibilityId(String responsibilityId)
The route module will re-resolve the given responsibilityId and return an object that contains the key to either
a user, group, or role.
|
List<ActionRequestValue> findActionRequests(RouteContext context) throws Exception
The list of requests returned should only contain root action requests (those with no parent).
Exception
ResponsibleParty resolveResponsibilityId(String responsibilityId) throws WorkflowException
This method is intended to allow for the calling code to be able to "switch-out" one responsibility for another (in the case of a change to an assigned reponsibility).
Returning null from this method will indicate that the original responsibile party should remain unchanged. This is typically the recommended default for implementation of this method and covers most use cases.
responsibilityId
- the id of the responsibility to be resolvedWorkflowException
boolean isMoreRequestsAvailable(RouteContext context)
context
- the route contextCopyright © 2005–2016 The Kuali Foundation. All rights reserved.