org.kuali.rice.kew.routemodule
Class RouteModuleRemoteAdapter

java.lang.Object
  extended by org.kuali.rice.kew.routemodule.RouteModuleRemoteAdapter
All Implemented Interfaces:
RouteModule

public class RouteModuleRemoteAdapter
extends Object
implements RouteModule

Adapts a RouteModuleRemote to the RouteModule interface.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
RouteModuleRemote, RouteModule

Constructor Summary
RouteModuleRemoteAdapter(RouteModuleRemote routeModule)
           
 
Method Summary
 List<ActionRequestValue> findActionRequests(DocumentRouteHeaderValue routeHeader)
           
 List findActionRequests(RouteContext context)
          Generate action requests for the given RouteContext.
 ResponsibleParty resolveResponsibilityId(String responsibilityId)
          The route module will resolve the given responsibilityId and return an object that contains the key to either a user or a workgroup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteModuleRemoteAdapter

public RouteModuleRemoteAdapter(RouteModuleRemote routeModule)
Method Detail

findActionRequests

public List findActionRequests(RouteContext context)
                        throws Exception
Description copied from interface: RouteModule
Generate action requests for the given RouteContext.

Specified by:
findActionRequests in interface RouteModule
Returns:
A List of the generated ActionRequestValue objects.
Throws:
Exception

findActionRequests

public List<ActionRequestValue> findActionRequests(DocumentRouteHeaderValue routeHeader)
                                            throws WorkflowException
Throws:
WorkflowException

resolveResponsibilityId

public ResponsibleParty resolveResponsibilityId(String responsibilityId)
                                         throws WorkflowException
Description copied from interface: RouteModule
The route module will resolve the given responsibilityId and return an object that contains the key to either a user or a workgroup.

Specified by:
resolveResponsibilityId in interface RouteModule
Returns:
The ResponsibleParty containing a key to a user or workgroup.
Throws:
WorkflowException


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.