|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.search.actions.UserSearchAction
@Deprecated public class UserSearchAction
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.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
UserSearchAction()
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
execute()
Deprecated. |
java.lang.String |
getJSONString()
Deprecated. |
void |
setFilterDisabledUsers(boolean filterDisabledUsers)
Deprecated. |
void |
setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
Deprecated. |
void |
setQuery(java.lang.String query)
Deprecated. |
void |
setSearchManager(SearchManager searchManager)
Deprecated. |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Constructor Detail |
---|
public UserSearchAction()
Method Detail |
---|
public java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public java.lang.String getJSONString()
getJSONString
in interface JSONAction
public void setSearchManager(SearchManager searchManager)
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
public void setQuery(java.lang.String query)
public void setFilterDisabledUsers(boolean filterDisabledUsers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |