|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.web.beans.view.UserManagementBean
@Component @Scope(value="view") public final class UserManagementBean
This class contains the necessary data behind an instance of the user management page. It is a Spring managed bean with view scope to make sure that one user (even in one session) can open multiple instances of the page at a time without causing any problems.
Constructor Summary | |
---|---|
UserManagementBean()
Default constructor. |
Method Summary | |
---|---|
void |
addUser(NewUserBean newUserBean)
This method adds the given user to the database and informs about success via the growl component. |
void |
changeUserEnableState(User user)
This method changes the enabled state of the given user and informs about success via the growl component. |
void |
deleteUser()
This method removes the currently selected user from the database and informs about success via the growl component. |
void |
editUser()
This method edits the currently selected user within the database and informs about success via the growl component. |
void |
editUserWithPassword()
This method edits the currently selected user within the database and informs about success via the growl component. |
User |
getSelectedUser()
|
User |
getSelectedUserCopy()
|
List<User> |
getUsers()
|
protected void |
initialialize()
This method initializes the bean. |
void |
setSelectedUser(User selectedUser)
Setter for the property selectedUser . |
void |
updateList()
Updates the list containing the available users. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserManagementBean()
Method Detail |
---|
@PostConstruct protected void initialialize()
public void addUser(NewUserBean newUserBean)
newUserBean
- The bean containing the necessary data to create the user.public void deleteUser()
public void editUser()
public void editUserWithPassword()
public void changeUserEnableState(User user)
user
- The user whose state should be changed.public void updateList()
public void setSelectedUser(User selectedUser)
selectedUser
.
selectedUser
- The new value of the property.public List<User> getUsers()
public User getSelectedUser()
public User getSelectedUserCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |