public class EditProfile extends BaseUserAction
Modifier and Type | Field and Description |
---|---|
protected String |
displayname |
protected String |
email |
protected String |
firstname |
protected String |
lastname |
protected PermissionManager |
permissionManager |
protected String |
username |
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
EditProfile() |
Modifier and Type | Method and Description |
---|---|
void |
doValidation() |
String |
execute() |
String |
getAvatarUrl() |
String |
getDisplayname() |
String |
getEmail() |
String |
getFirstname() |
String |
getLastname() |
String |
getUsername() |
boolean |
hasUpdateProfilePermission()
Check if the user belongs to a directory that has UPDATE_USER permission.
|
void |
setDisplayname(String displayname) |
void |
setEmail(String email) |
void |
setFirstname(String firstname) |
void |
setLastname(String lastname) |
void |
setPermissionManager(PermissionManager permissionManager) |
void |
setUsername(String username) |
String |
update() |
getRemoteUsername
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected PermissionManager permissionManager
protected String username
protected String displayname
protected String firstname
protected String lastname
protected String email
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
Exception
public void doValidation()
public boolean hasUpdateProfilePermission()
public String getUsername()
public void setUsername(String username)
public String getDisplayname()
public void setDisplayname(String displayname)
public String getFirstname()
public void setFirstname(String firstname)
public String getLastname()
public void setLastname(String lastname)
public String getEmail()
public void setEmail(String email)
public void setPermissionManager(PermissionManager permissionManager)
public String getAvatarUrl()
Copyright © 2020 Atlassian. All rights reserved.