public class PeopleFlowRouteModule extends Object implements RouteModule
| Modifier and Type | Field and Description |
|---|---|
static String |
PEOPLE_FLOW_SEQUENCE |
| Constructor and Description |
|---|
PeopleFlowRouteModule() |
| Modifier and Type | Method and Description |
|---|---|
List<ActionRequestValue> |
findActionRequests(RouteContext context)
Generate action requests for the given RouteContext.
|
protected Integer |
getCurrentIteration(RouteContext context) |
PeopleFlowRequestGenerator |
getPeopleFlowRequestGenerator() |
PeopleFlowService |
getPeopleFlowService() |
protected int |
incrementIteration(RouteContext context) |
boolean |
isMoreRequestsAvailable(RouteContext context)
Returns true if this RouteModule has more requests available which it can generate.
|
protected PeopleFlowDefinition |
loadPeopleFlow(org.kuali.rice.kew.impl.peopleflow.PeopleFlowRouteModule.PeopleFlowConfig configuration) |
protected List<org.kuali.rice.kew.impl.peopleflow.PeopleFlowRouteModule.PeopleFlowConfig> |
parsePeopleFlowConfiguration(RouteContext context) |
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.
|
void |
setPeopleFlowRequestGenerator(PeopleFlowRequestGenerator peopleFlowRequestGenerator) |
void |
setPeopleFlowService(PeopleFlowService peopleFlowService) |
public static final String PEOPLE_FLOW_SEQUENCE
public PeopleFlowRouteModule()
public List<ActionRequestValue> findActionRequests(RouteContext context) throws Exception
RouteModuleThe list of requests returned should only contain root action requests (those with no parent).
findActionRequests in interface RouteModuleExceptionpublic boolean isMoreRequestsAvailable(RouteContext context)
RouteModuleisMoreRequestsAvailable in interface RouteModulecontext - the route contextpublic ResponsibleParty resolveResponsibilityId(String responsibilityId) throws WorkflowException
RouteModuleThis 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.
resolveResponsibilityId in interface RouteModuleresponsibilityId - the id of the responsibility to be resolvedWorkflowExceptionprotected List<org.kuali.rice.kew.impl.peopleflow.PeopleFlowRouteModule.PeopleFlowConfig> parsePeopleFlowConfiguration(RouteContext context)
protected PeopleFlowDefinition loadPeopleFlow(org.kuali.rice.kew.impl.peopleflow.PeopleFlowRouteModule.PeopleFlowConfig configuration)
protected int incrementIteration(RouteContext context)
protected Integer getCurrentIteration(RouteContext context)
public PeopleFlowService getPeopleFlowService()
public void setPeopleFlowService(PeopleFlowService peopleFlowService)
public PeopleFlowRequestGenerator getPeopleFlowRequestGenerator()
public void setPeopleFlowRequestGenerator(PeopleFlowRequestGenerator peopleFlowRequestGenerator)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.