public class RemoveUserAction extends AbstractUsersAction implements ExternalUserManagementAware
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 |
---|
RemoveUserAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Default webwork action execution method.
|
String |
execute() |
String |
getTaskId() |
List |
getUserCommentedSpaces()
Deprecated.
since 6.13.0 Use
SpaceManager.getSpacesContainingCommentsBy(String)
instead. |
List<String> |
getUserContentCleanupInformation()
A human-readable list of content that will be removed or modified by the deletion of this user.
|
List |
getUserEditedSpaces()
Deprecated.
since 6.13.0 Use
SpaceManager.getSpacesContainingPagesEditedBy(String)
instead. |
List |
getUserOwnedSpaces()
Deprecated.
since 6.13.0 Use
SpaceManager.getAuthoredSpacesByUser(String)
instead. |
boolean |
hasPersonalSpace() |
boolean |
isUserRemovable() |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
setSpaceManager(SpaceManager spaceManager) |
getRemoteUsername, getUser, getUserKey, getUsername, isAllowedToAddUsers, isPermitted, setUserKey, setUsername
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, 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, 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, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, 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
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 String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setSpaceManager(SpaceManager spaceManager)
public boolean isUserRemovable()
public boolean hasPersonalSpace()
@Deprecated public List getUserOwnedSpaces()
SpaceManager.getAuthoredSpacesByUser(String)
instead.@Deprecated public List getUserEditedSpaces()
SpaceManager.getSpacesContainingPagesEditedBy(String)
instead.@Deprecated public List getUserCommentedSpaces()
SpaceManager.getSpacesContainingCommentsBy(String)
instead.public String getTaskId()
public List<String> getUserContentCleanupInformation()
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Copyright © 2003–2018 Atlassian. All rights reserved.