| java.lang.Object org.kuali.core.UserSession
UserSession | public class UserSession implements Serializable(Code) | | This class represents a User Session
|
Constructor Summary | |
public | UserSession(String networkId) Take in a netid, and construct the user from that. |
addObject | public String addObject(Object object, String keyPrefix)(Code) | | allows adding an arbitrary object to the session and returns a string key that can be used to later access this object from
the session using the retrieveObject method in this class
Parameters: object - |
addObject | public void addObject(String key, Object object)(Code) | | allows adding an arbitrary object to the session with static a string key that can be used to later access this object from
the session using the retrieveObject method in this class
Parameters: object - |
addObject | public String addObject(Object object)(Code) | | allows adding an arbitrary object to the session and returns a string key that can be used to later access this object from
the session using the retrieveObject method in this class
Parameters: object - |
clearBackdoorUser | public void clearBackdoorUser()(Code) | | clear the backdoor user
|
getLoggedInUserNetworkId | public String getLoggedInUserNetworkId()(Code) | | This returns who is logged in. If the backdoor is in use, this will return the network id of the person that is standing in
as the backdoor user.
String |
getNetworkId | public String getNetworkId()(Code) | | the networkId of the current user in the system, backdoor network id if backdoor is set |
getUniversalUser | public UniversalUser getUniversalUser()(Code) | | the KualiUser which is the current user in the system, backdoor if backdoor is set |
getWorkflowDocument | public KualiWorkflowDocument getWorkflowDocument(String docId)(Code) | | retrieve a flexdoc from the userSession based on the document id
Parameters: docId - |
getWorkflowUser | public UserVO getWorkflowUser()(Code) | | the workflowUser which is the current user in the system, backdoor if backdoor is set |
isBackdoorInUse | public boolean isBackdoorInUse()(Code) | | boolean indicating if the backdoor is in use |
removeObject | public void removeObject(String objectKey)(Code) | | allows for removal of an object from session that has been put into the userSession based on the key that would have been
assigned
Parameters: objectKey - |
removeObjectsByPrefix | public void removeObjectsByPrefix(String objectKeyPrefix)(Code) | | allows for removal of an object from session that has been put into the userSession based on a key that starts with the given
prefix
Parameters: objectKey - |
retrieveObject | public Object retrieveObject(String objectKey)(Code) | | allows for fetching an object that has been put into the userSession based on the key that would have been returned when
adding the object
Parameters: objectKey - |
setWorkflowDocument | public void setWorkflowDocument(KualiWorkflowDocument workflowDocument)(Code) | | set a flexDoc into the userSession which will be stored under the document id
Parameters: flexDoc - |
|
|