@Deprecated public class UserSearchAction extends ConfluenceActionSupport implements JSONAction
An action that will try to find a Confluence user based on parts of the user's name or username as supplied in the query. The name part must be the beginning of the users details. e.g. supplying a query of 'ga gl' will match 'garry glitter'. It would not match 'olga nugleva' since the ga and gl parts are not at the start of those name components.
The output of the action can be retrieved via the getJSONString method which will return a JSON representation of any matching users.
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
UserSearchAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
execute()
Deprecated.
|
String |
getJSONString()
Deprecated.
|
void |
setFilterDisabledUsers(boolean filterDisabledUsers)
Deprecated.
|
void |
setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
Deprecated.
|
void |
setQuery(String query)
Deprecated.
|
void |
setSearchManager(SearchManager searchManager)
Deprecated.
|
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, 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 execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getJSONString()
getJSONString
in interface JSONAction
public void setSearchManager(SearchManager searchManager)
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
public void setQuery(String query)
public void setFilterDisabledUsers(boolean filterDisabledUsers)
Copyright © 2003–2015 Atlassian. All rights reserved.