Class SearchUsersAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.user.actions.AbstractUsersAction
-
- com.atlassian.confluence.user.actions.AbstractSearchCrowdUsersAction
-
- com.atlassian.confluence.user.actions.SearchUsersAction
-
- All Implemented Interfaces:
Tabbed
,WebInterface
,BreadcrumbAware
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- Direct Known Subclasses:
BrowseUsersAction
,CreateUserAction
public class SearchUsersAction extends AbstractSearchCrowdUsersAction implements BreadcrumbAware
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.user.actions.AbstractSearchCrowdUsersAction
SHOW_ALL_SEARCH_TERM
-
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 SearchUsersAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAddUsers()
String
doCreateUserForm()
String
doInviteUserForm()
String
doSignUpUserForm()
String
doUserSearch()
String
execute()
Breadcrumb
getBreadcrumb()
Returns the breadcrumb to be shown when the action is accessed.com.atlassian.event.api.EventPublisher
getEventPublisher()
LoginInfo
getLoginInfo(String userName)
boolean
isMailServerConfigured()
boolean
isPermitted()
boolean
isSendEmailDefault()
void
publishEvent()
void
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
void
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
void
setLoginManager(LoginManager loginManager)
void
setMailServerExistsCriteria(MailServerExistsCriteria mailServerExistsCriteria)
protected void
setSendEmailDefault(boolean sendEmail)
void
setWritableDirectoryExistsCriteria(WritableDirectoryExistsCriteria writableDirectoryExistsCriteria)
-
Methods inherited from class com.atlassian.confluence.user.actions.AbstractSearchCrowdUsersAction
getEmailTerm, getFullnameTerm, getLicenseErrorHtml, getOperator, getOperators, getPageRequest, getPageResponse, getResultsPerPage, getResultsPerPageOptions, getSearchTerm, getSelectedTab, getUsernameTerm, getUserSearchService, isShowAll, isShowUnlicensedUsers, isSupportsSimpleSearch, setEmailTerm, setFullnameTerm, setLicenseService, setOperator, setPageResponse, setResultsPerPage, setSearchTerm, setSelectedTab, setShowUnlicensedUsers, setStartIndex, setUserChecker, setUsernameTerm, setUserSearchService, 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, 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
-
execute
public String execute()
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
-
doCreateUserForm
public String doCreateUserForm()
-
doInviteUserForm
public String doInviteUserForm()
-
doSignUpUserForm
public String doSignUpUserForm()
-
isSendEmailDefault
public boolean isSendEmailDefault()
-
setSendEmailDefault
protected void setSendEmailDefault(boolean sendEmail)
-
isMailServerConfigured
public boolean isMailServerConfigured()
-
canAddUsers
public boolean canAddUsers()
-
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in classAbstractSearchCrowdUsersAction
-
setMailServerExistsCriteria
public void setMailServerExistsCriteria(MailServerExistsCriteria mailServerExistsCriteria)
-
setWritableDirectoryExistsCriteria
public void setWritableDirectoryExistsCriteria(WritableDirectoryExistsCriteria writableDirectoryExistsCriteria)
-
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
-
getBreadcrumb
public Breadcrumb getBreadcrumb()
Description copied from interface:BreadcrumbAware
Returns the breadcrumb to be shown when the action is accessed.- Specified by:
getBreadcrumb
in interfaceBreadcrumbAware
- Returns:
- Breadcrumb
-
getEventPublisher
public com.atlassian.event.api.EventPublisher getEventPublisher()
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
setLoginManager
public void setLoginManager(LoginManager loginManager)
- Overrides:
setLoginManager
in classConfluenceActionSupport
-
publishEvent
public void publishEvent()
-
doUserSearch
@XsrfProtectionExcluded public String doUserSearch()
- Overrides:
doUserSearch
in classAbstractSearchCrowdUsersAction
-
-