public class UserAccount extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String[]> |
bannerMap |
protected String |
confirmPassword |
protected AgrosystWebApplicationContext |
context |
protected String |
password |
protected UserDto |
user |
protected UserService |
userService |
applicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
UserAccount() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Map<String,String[]> |
getBannerMap() |
UserDto |
getUser() |
protected void |
initForInput() |
String |
input() |
void |
prepare() |
void |
setConfirmPassword(String confirmPassword) |
void |
setContext(AgrosystWebApplicationContext context) |
void |
setPassword(String password) |
void |
setUserService(UserService userService) |
void |
validate() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getSessionId, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, verifyAndSaveNavigationContext, writeNavigationContextCookieaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected transient AgrosystWebApplicationContext context
protected transient UserService userService
protected UserDto user
protected String password
protected String confirmPassword
public void setContext(AgrosystWebApplicationContext context)
public void setUserService(UserService userService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic UserDto getUser()
public String input()
input in class com.opensymphony.xwork2.ActionSupportprotected void initForInput()
initForInput in class AbstractAgrosystActionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportpublic void setPassword(String password)
public void setConfirmPassword(String confirmPassword)
Copyright © 2013–2014 Inra. All rights reserved.