public final class UserSessionUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | addWorkflowDocument(UserSession userSession,
                                      WorkflowDocument workflowDocument)Adds the given  WorkflowDocumentto theUserSession. | 
| static WorkflowDocument | getWorkflowDocument(UserSession userSession,
                                      String workflowDocumentId)Returns the  WorkflowDocumentwith the given ID from theUserSession. | 
public static void addWorkflowDocument(UserSession userSession, WorkflowDocument workflowDocument)
WorkflowDocument to the UserSession.userSession - the session to add the workflow document toworkflowDocument - the workflow doc to add to the sessionpublic static WorkflowDocument getWorkflowDocument(UserSession userSession, String workflowDocumentId)
WorkflowDocument with the given ID from the
 UserSession.  If there is not one cached in the session with
 that ID, then null is returned.userSession - the user session from which to retrieve the workflow documentworkflowDocumentId - the ID of the workflow document to getCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.