com.mycompany.messages
Class UpdateProfileAction
java.lang.Object
com.mycompany.messages.UpdateProfileAction
- public class UpdateProfileAction
- extends java.lang.Object
This class updates a user profile in the Project Billboard
application.
- Version:
- 1.0
- Author:
- Hans Bergsten, Gefion Software
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
empReg
private EmployeeRegistryBean empReg
validUser
private EmployeeBean validUser
projects
private java.lang.String[] projects
requestMethod
private java.lang.String requestMethod
UpdateProfileAction
public UpdateProfileAction()
getRegistry
public EmployeeRegistryBean getRegistry()
setRegistry
public void setRegistry(EmployeeRegistryBean empReg)
getValidUser
public EmployeeBean getValidUser()
setValidUser
public void setValidUser(EmployeeBean validUser)
getProjects
public java.lang.String[] getProjects()
setProjects
public void setProjects(java.lang.String[] projects)
getRequestMethod
public java.lang.String getRequestMethod()
setRequestMethod
public void setRequestMethod(java.lang.String requestMethod)
updateProfile
public java.lang.String updateProfile()
- Updates the projects property of an authenticated user,
represented by the "validUser" session attribute, using
the EmployeeRegistryBean. This action is only performed
for POST requests.