com.mycompany.messages
Class UpdateProfileAction

java.lang.Object
  extended bycom.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

Field Summary
private  EmployeeRegistryBean empReg
           
private  java.lang.String[] projects
           
private  java.lang.String requestMethod
           
private  EmployeeBean validUser
           
 
Constructor Summary
UpdateProfileAction()
           
 
Method Summary
 java.lang.String[] getProjects()
           
 EmployeeRegistryBean getRegistry()
           
 java.lang.String getRequestMethod()
           
 EmployeeBean getValidUser()
           
 void setProjects(java.lang.String[] projects)
           
 void setRegistry(EmployeeRegistryBean empReg)
           
 void setRequestMethod(java.lang.String requestMethod)
           
 void setValidUser(EmployeeBean validUser)
           
 java.lang.String updateProfile()
          Updates the projects property of an authenticated user, represented by the "validUser" session attribute, using the EmployeeRegistryBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

empReg

private EmployeeRegistryBean empReg

validUser

private EmployeeBean validUser

projects

private java.lang.String[] projects

requestMethod

private java.lang.String requestMethod
Constructor Detail

UpdateProfileAction

public UpdateProfileAction()
Method Detail

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.