|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.UserSessionUtils
public final class UserSessionUtils
Utility class for working with the UserSession.
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 get
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |