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, java.io.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, getAuthenticatedUser, 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, 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, isUsingHSQL, setApiDateFormatService, 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 java.lang.String TERM_DELIM_CHARS
- See Also:
- Constant Field Values
SHOW_ALL_SEARCH_TERM
public static final java.lang.String SHOW_ALL_SEARCH_TERM
- See Also:
- Constant Field Values
searchEntitiesManager
protected SearchEntitiesManager searchEntitiesManager
searchTerm
protected java.lang.String searchTerm
usernameTerm
protected java.lang.String usernameTerm
fullnameTerm
protected java.lang.String fullnameTerm
emailTerm
protected java.lang.String emailTerm
operator
protected java.lang.String operator
resultsPerPage
protected int resultsPerPage
isLicensedToAddMoreUsers
protected boolean isLicensedToAddMoreUsers
licenseError
protected java.lang.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 java.lang.String doCreateUserForm()
doInviteUserForm
public java.lang.String doInviteUserForm()
doSignUpUserForm
public java.lang.String doSignUpUserForm()
getOperators
public java.util.List getOperators()
getSelectedTab
public java.lang.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(java.lang.String selectedTab)
doUserSearch
public java.lang.String doUserSearch()
appendWildcard
protected java.lang.String appendWildcard(java.lang.String s)
isAllowedToSearch
public boolean isAllowedToSearch()
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()
isSendEmail
public boolean isSendEmail()
isShowAll
public boolean isShowAll()
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 java.lang.String getSearchTerm()
setSearchTerm
public void setSearchTerm(java.lang.String searchTerm)
getUsernameTerm
public java.lang.String getUsernameTerm()
setUsernameTerm
public void setUsernameTerm(java.lang.String usernameTerm)
getFullnameTerm
public java.lang.String getFullnameTerm()
setFullnameTerm
public void setFullnameTerm(java.lang.String fullnameTerm)
getEmailTerm
public java.lang.String getEmailTerm()
setEmailTerm
public void setEmailTerm(java.lang.String emailTerm)
getOperator
public java.lang.String getOperator()
setOperator
public void setOperator(java.lang.String operator)
isLicensedToAddMoreUsers
public boolean isLicensedToAddMoreUsers()
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
getLicenseErrorHtml
public java.lang.String getLicenseErrorHtml()
setResultsPerPage
public void setResultsPerPage(int resultsPerPage)
- Change the pageSize
- Parameters:
resultsPerPage
- Number to show per page
getResultsPerPageOptions
public java.util.List getResultsPerPageOptions()
setLicenseService
public void setLicenseService(LicenseService licenseService)
setUserChecker
public void setUserChecker(UserChecker userChecker)
isEmailInvitesEnabled
public boolean isEmailInvitesEnabled()
canAddUsers
public boolean canAddUsers()
Copyright © 2003-2014 Atlassian. All Rights Reserved.