com.atlassian.confluence.user.actions
Class SearchUsersAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.AbstractEntityPaginationAction
com.atlassian.confluence.user.actions.SearchUsersAction
- All Implemented Interfaces:
- Tabbed, WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable
- Direct Known Subclasses:
- BrowseUsersAction, UserPickerAction
public class SearchUsersAction
- extends AbstractEntityPaginationAction
- implements Tabbed
- See Also:
- Serialized Form
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 |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TERM_DELIM_CHARS
public static final String TERM_DELIM_CHARS
- See Also:
- Constant Field Values
searchEntitiesManager
protected SearchEntitiesManager searchEntitiesManager
searchTerm
protected String searchTerm
usernameTerm
protected String usernameTerm
fullnameTerm
protected String fullnameTerm
emailTerm
protected String emailTerm
operator
protected String operator
resultsPerPage
protected int resultsPerPage
isLicensedToAddMoreUsers
protected boolean isLicensedToAddMoreUsers
licenseError
protected String licenseError
supportsSimpleSearch
protected boolean supportsSimpleSearch
SearchUsersAction
public SearchUsersAction()
validate
public void validate()
- Specified by:
validate
in interface MessageHolderAware
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
doCreateUserForm
public String doCreateUserForm()
doInviteUserForm
public String doInviteUserForm()
doSignUpUserForm
public String doSignUpUserForm()
getOperators
public List getOperators()
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 interface Tabbed
setSelectedTab
public void setSelectedTab(String selectedTab)
doUserSearch
public String doUserSearch()
appendWildcard
protected String appendWildcard(String s)
isAllowedToSearch
public boolean isAllowedToSearch()
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()
isSendEmail
public boolean isSendEmail()
isMailServerConfigured
public boolean isMailServerConfigured()
setSupportsSimpleSearch
public void setSupportsSimpleSearch(boolean supportsSimpleSearch)
setSearchEntitiesManager
public void setSearchEntitiesManager(SearchEntitiesManager searchEntitiesManager)
setMailServerExistsCriteria
public void setMailServerExistsCriteria(MailServerExistsCriteria mailServerExistsCriteria)
setWritableDirectoryExistsCriteria
public void setWritableDirectoryExistsCriteria(WritableDirectoryExistsCriteria writableDirectoryExistsCriteria)
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)
isLicensedToAddMoreUsers
public boolean isLicensedToAddMoreUsers()
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
getLicenseErrorHtml
public String getLicenseErrorHtml()
setResultsPerPage
public void setResultsPerPage(int resultsPerPage)
- Change the pageSize
- Parameters:
resultsPerPage
- Number to show per page
getResultsPerPageOptions
public List getResultsPerPageOptions()
setLicenseService
public void setLicenseService(LicenseService licenseService)
setUserChecker
public void setUserChecker(UserChecker userChecker)
isEmailInvitesEnabled
public boolean isEmailInvitesEnabled()
canAddUsers
public boolean canAddUsers()
Copyright © 2003-2013 Atlassian. All Rights Reserved.