Class AbstractSearchCrowdUsersAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.user.actions.AbstractUsersAction
-
- com.atlassian.confluence.user.actions.AbstractSearchCrowdUsersAction
-
- All Implemented Interfaces:
Tabbed
,WebInterface
,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:
SearchUsersAction
,UserPickerAction
public class AbstractSearchCrowdUsersAction extends AbstractUsersAction implements Tabbed
Searches for users using theCrowdService
andQuery
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
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, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description AbstractSearchCrowdUsersAction()
-
Method Summary
-
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, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, 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, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Field Detail
-
SHOW_ALL_SEARCH_TERM
public static final String SHOW_ALL_SEARCH_TERM
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classcom.opensymphony.xwork2.ActionSupport
-
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()
-
getSelectedTab
public String getSelectedTab()
Description copied from interface:Tabbed
Returns the key of the tab that should be selected when rendering.e.g. "search" or "create" for the browseusers.vm
- Specified by:
getSelectedTab
in interfaceTabbed
-
setSelectedTab
public void setSelectedTab(String selectedTab)
-
doUserSearch
@XsrfProtectionExcluded public String doUserSearch()
-
getPageRequest
public PageRequest getPageRequest()
-
isShowAll
public boolean isShowAll()
-
getResultsPerPage
public int getResultsPerPage()
-
getSearchTerm
public String getSearchTerm()
-
setSearchTerm
public void setSearchTerm(String searchTerm)
-
getUsernameTerm
public String getUsernameTerm()
-
setUsernameTerm
public void setUsernameTerm(String usernameTerm)
-
getFullnameTerm
public String getFullnameTerm()
-
setFullnameTerm
public void setFullnameTerm(String fullnameTerm)
-
getEmailTerm
public String getEmailTerm()
-
setEmailTerm
public void setEmailTerm(String emailTerm)
-
getOperator
public String getOperator()
-
setOperator
public void setOperator(String operator)
-
isShowUnlicensedUsers
public boolean isShowUnlicensedUsers()
-
setShowUnlicensedUsers
public void setShowUnlicensedUsers(boolean showUnlicensedUsers)
-
getLicenseErrorHtml
public String getLicenseErrorHtml()
-
setResultsPerPage
public void setResultsPerPage(int resultsPerPage)
-
getResultsPerPageOptions
public List<com.atlassian.core.util.PairType> getResultsPerPageOptions()
-
setLicenseService
public void setLicenseService(LicenseService licenseService)
-
setUserChecker
public void setUserChecker(UserChecker userChecker)
-
setStartIndex
public void setStartIndex(int startIndex)
-
setPageResponse
public void setPageResponse(PageResponse<ConfluenceUser> result)
-
getPageResponse
public PageResponse<ConfluenceUser> getPageResponse()
-
getUserSearchService
public UserSearchServiceInternal getUserSearchService()
-
setUserSearchService
public void setUserSearchService(UserSearchServiceInternal userSearchService)
-
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in classAbstractUsersAction
-
-