public class UserProfileView
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UserProfileView()
Instantiates a new user profile view.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deleteUser()
Delete user.
|
UserJPA |
getCurrentUser()
Gets the current user.
|
LoginUserView |
getLoginBean()
Gets the login bean.
|
void |
init()
Inits.
|
void |
setCurrentUser(UserJPA currentUser)
Sets the current user.
|
void |
setLoginBean(LoginUserView loginBean)
Sets the login bean.
|
java.lang.String |
updateUser()
Update user.
|
@PostConstruct public void init()
public LoginUserView getLoginBean()
public void setLoginBean(LoginUserView loginBean)
loginBean
- the new login beanpublic UserJPA getCurrentUser()
public void setCurrentUser(UserJPA currentUser)
currentUser
- the new current userpublic java.lang.String updateUser()
public java.lang.String deleteUser()