Allows to configure new user account or to modify an existing one.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.2.1
- Since
- 0.1.6
◆ SaveAccountController()
eu.baltrad.dex.user.controller.SaveAccountController.SaveAccountController |
( |
| ) |
|
|
inline |
◆ getRoles()
List< String > eu.baltrad.dex.user.controller.SaveAccountController.getRoles |
( |
| ) |
|
|
inline |
Creates list of roles.
- Returns
- List of roles
◆ processSubmit()
String eu.baltrad.dex.user.controller.SaveAccountController.processSubmit |
( |
HttpServletRequest | request, |
|
|
ModelMap | model, |
|
|
@ModelAttribute("user_account") User | user, |
|
|
BindingResult | result ) |
|
inline |
Save user account.
- Parameters
-
account | User account |
request | HTTP servlet request |
result | Form binding result |
model | Model map |
- Returns
- View name
◆ setMessages()
void eu.baltrad.dex.user.controller.SaveAccountController.setMessages |
( |
MessageResourceUtil | messages | ) |
|
|
inline |
- Parameters
-
messages | the messages to set |
◆ setRoleManager()
void eu.baltrad.dex.user.controller.SaveAccountController.setRoleManager |
( |
IRoleManager | roleManager | ) |
|
|
inline |
- Parameters
-
roleManager | the roleManager to set |
◆ setupForm()
String eu.baltrad.dex.user.controller.SaveAccountController.setupForm |
( |
@RequestParam(value="user_id", required=false) String | userId, |
|
|
ModelMap | model ) |
|
inline |
Load form backing object.
- Parameters
-
userId | User id |
model | Model map |
- Returns
- Form view name
◆ setUserManager()
void eu.baltrad.dex.user.controller.SaveAccountController.setUserManager |
( |
IUserManager | userManager | ) |
|
|
inline |
◆ setValidator()
void eu.baltrad.dex.user.controller.SaveAccountController.setValidator |
( |
AccountValidator | validator | ) |
|
|
inline |
- Parameters
-
validator | the validator to set |
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/user/controller/SaveAccountController.java