public class ViewUserAction extends AbstractUsersAction
user, userKey, username
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewUserAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
canEdit() |
boolean |
canRemove() |
String |
execute() |
com.atlassian.crowd.embedded.api.User |
getCrowdUser() |
List<com.atlassian.crowd.embedded.api.Directory> |
getDirectories() |
com.atlassian.crowd.embedded.api.Directory |
getDirectory()
Deprecated.
since 6.13.0, because we now show all directories a user account might be present in instead of just the first match.
Use
getDirectories() instead. |
LoginInfo |
getLoginInfo() |
boolean |
isEditMode() |
boolean |
isUserDeactivated() |
void |
setCrowdService(com.atlassian.crowd.embedded.api.CrowdService crowdService) |
void |
setCrowdUserDirectoryHelper(CrowdUserDirectoryHelper crowdUserDirectoryHelper) |
void |
setDisableFailure(boolean disableFailure) |
void |
setEnableFailure(boolean enableFailure) |
void |
setLoginManager(LoginManager loginManager) |
getRemoteUsername, getUser, getUserKey, getUsername, isAllowedToAddUsers, isPermitted, setUserKey, setUsername
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, 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, 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, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public void setLoginManager(LoginManager loginManager)
setLoginManager
in class ConfluenceActionSupport
public void setCrowdService(com.atlassian.crowd.embedded.api.CrowdService crowdService)
public void setCrowdUserDirectoryHelper(CrowdUserDirectoryHelper crowdUserDirectoryHelper)
public String execute()
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
public boolean isUserDeactivated()
public com.atlassian.crowd.embedded.api.User getCrowdUser()
public List<com.atlassian.crowd.embedded.api.Directory> getDirectories()
@Deprecated public com.atlassian.crowd.embedded.api.Directory getDirectory()
getDirectories()
instead.public boolean canRemove()
public boolean canEdit()
public LoginInfo getLoginInfo()
public void setDisableFailure(boolean disableFailure)
public void setEnableFailure(boolean enableFailure)
public boolean isEditMode()
Copyright © 2003–2020 Atlassian. All rights reserved.