public final class UserSessionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addWorkflowDocument(UserSession userSession,
WorkflowDocument workflowDocument)
Adds the given
WorkflowDocument to the UserSession . |
static WorkflowDocument |
getWorkflowDocument(UserSession userSession,
String workflowDocumentId)
Returns the
WorkflowDocument with the given ID from the
UserSession . |
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–2016 The Kuali Foundation. All rights reserved.