Class EditUserAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.user.actions.AbstractUsersAction
-
- com.atlassian.confluence.user.actions.EditUserAction
-
- All Implemented Interfaces:
FormAware
,WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
,org.apache.struts2.interceptor.ParameterAware
public class EditUserAction extends AbstractUsersAction implements FormAware, org.apache.struts2.interceptor.ParameterAware
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction
user, userKey, username
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description EditUserAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRename()
boolean
canUpdate()
String
doEdit()
String
execute()
String
getEmail()
String
getFullName()
String
getPersonalInformation()
List<String>
getUserDetailsGroups()
List<String>
getUserDetailsKeys(String groupKey)
UserDetailsMap
getUserDetailsMap()
String
getUserProperty(String key)
boolean
isEditMode()
boolean
isPermitted()
void
setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
void
setCrowdService(com.atlassian.crowd.embedded.api.CrowdService crowdService)
void
setEmail(String email)
void
setFullName(String fullName)
void
setParameters(Map map)
void
setPersonalInformation(String personalInformation)
void
setPersonalInformationManager(PersonalInformationManager personalInformationManager)
void
setUserDetailsManager(UserDetailsManager userDetailsManager)
void
setUserFormValidator(UserFormValidator validator)
void
validate()
-
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction
getRemoteUsername, getUrlEncodeUsername, getUser, getUserKey, getUsername, isLicensedToAddMoreUsers, setUserKey, setUsername
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiContentUiSupport, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Method Detail
-
getFullName
public String getFullName()
-
setFullName
public void setFullName(String fullName)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
validate
public void validate()
- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classcom.opensymphony.xwork2.ActionSupport
-
execute
public String execute()
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
-
canRename
public boolean canRename()
-
canUpdate
public boolean canUpdate()
-
setUserDetailsManager
public void setUserDetailsManager(UserDetailsManager userDetailsManager)
-
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in classAbstractUsersAction
-
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interfaceFormAware
-
getPersonalInformation
public String getPersonalInformation()
-
setPersonalInformation
public void setPersonalInformation(String personalInformation)
-
setPersonalInformationManager
public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
-
setCrowdService
public void setCrowdService(com.atlassian.crowd.embedded.api.CrowdService crowdService)
-
setCrowdDirectoryService
public void setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
-
setParameters
public void setParameters(Map map)
- Specified by:
setParameters
in interfaceorg.apache.struts2.interceptor.ParameterAware
-
getUserDetailsMap
public UserDetailsMap getUserDetailsMap()
-
setUserFormValidator
public void setUserFormValidator(UserFormValidator validator)
-
-