|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RouteModule
A RouteModule is responsible for generating Action Requests for a given Route Header document. Implementations of this class are potentially remotable, so this interface uses value objects.
Method Summary | |
---|---|
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. |
Method Detail |
---|
List<ActionRequestValue> findActionRequests(RouteContext context) throws Exception
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 resolved
WorkflowException
boolean isMoreRequestsAvailable(RouteContext context)
context
- the route context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |