#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' )
| Package | Description |
|---|---|
| controller |
Root controller package.
|
| service |
Beans for accessing persistence layer.
|
| Modifier and Type | Method and Description |
|---|---|
User |
AccountsController.getCurrentUser()
Currently logged user or null.
|
User |
AccountsController.getNewUser()
New User Field
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<User> |
AccountsController.getUsers()
Return a list of users
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccountsController.setNewUser(User newUser)
New User Field
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserSessionBean.demoteUser(java.lang.Long id)
Demote User to User by Database Id
|
User |
UserSessionBean.encodeAndSave(User user)
Register new users.
|
User |
UserSessionBean.findByEmail(java.lang.String email)
return User for email.
|
User |
UserSessionBean.findById(java.lang.Long id)
Find User by Database Id
|
User |
UserSessionBean.merge(User user)
Merge user with Database
|
User |
UserSessionBean.promoteUser(java.lang.Long id)
Promote User to Admin by Database Id
|
User |
UserSessionBean.updatePassword(User user)
Update the User's password
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<User> |
UserSessionBean.findAll()
Get List of all Users
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserSessionBean.encodeAndSave(User user)
Register new users.
|
User |
UserSessionBean.merge(User user)
Merge user with Database
|
User |
UserSessionBean.updatePassword(User user)
Update the User's password
|