| |
|
| java.lang.Object projectmanagement.presentation.ProjectManagementSessionData
ProjectManagementSessionData | public class ProjectManagementSessionData implements java.io.Serializable(Code) | | Object that will be held in session data. This should
be the only object held there. Methods should be called
on this object to set and get data.
author: Sasa Bojanic version: 1.0 |
SESSION_KEY | final public static String SESSION_KEY(Code) | | Hash key to save session data for the ProjectManagement app in the Session
|
isAdmin | protected boolean isAdmin(Code) | | |
getAndClearUserMessage | public String getAndClearUserMessage()(Code) | | Retrieve the most recent user message and then clear it so no
other app tries to use it.
|
getAuthLevel | public int getAuthLevel()(Code) | | |
getUser | public Employee getUser()(Code) | | Gets the employee object
employee |
removeUser | public void removeUser()(Code) | | Method to remove the current user from the session
|
setAdmin | public void setAdmin(boolean isAdmin)(Code) | | |
setUser | public void setUser(Employee theEmployee)(Code) | | Sets the employee object
Parameters: theEmployee - the employee object |
setUserMessage | public void setUserMessage(String msg)(Code) | | Sets the message
Parameters: msg - the message to be set |
|
|
|