Class PeopleDirectoryAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.user.actions.PeopleDirectoryAction
-
- All Implemented Interfaces:
WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class PeopleDirectoryAction extends ConfluenceActionSupport
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BLANK_EXPERIENCE_USER_THRESHOLD
static String
BROWSE_PEOPLE
static int
MAX_PEOPLE_PER_PAGE
-
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 PeopleDirectoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
doBrowse()
String
doSearch()
String
execute()
String
getOldSearchString()
String
getOldStartIndex()
PaginationSupport<Searchable>
getPaginationSupport()
String
getQueryString()
com.atlassian.confluence.user.actions.PeopleDirectoryAction.SearchQueryBean
getSearchQueryBean()
Kept for backwards compatibility with existing query strings that used the old SearchQueryBean madnessList<String>
getSearchResults()
String
getSelectedTab()
int
getStartIndex()
boolean
isHasUserCreationPermission()
boolean
isPermitted()
boolean
isShowBlankExperience()
boolean
isShowDeactivatedUsers()
boolean
isShowExternallyDeletedUsers()
boolean
isShowOnlyPersonal()
boolean
isShowShadowedUsers()
boolean
isShowUnlicensedUsers()
void
setCanInviteUserCriteria(CanInviteUserCriteria canInviteUserCriteria)
void
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
void
setQueryString(String queryString)
void
setSearchManager(SearchManager searchManager)
void
setSelectedTab(String selectedTab)
void
setShowDeactivatedUsers(boolean showDeactivatedUsers)
void
setShowExternallyDeletedUsers(boolean showExternallyDeletedUsers)
void
setShowOnlyPersonal(boolean showOnlyPersonal)
void
setShowShadowedUsers(boolean showShadowedUsers)
void
setShowUnlicensedUsers(boolean showUnlicensedUsers)
void
setSiteSearchPermissionsQueryFactory(SiteSearchPermissionsQueryFactory siteSearchPermissionsQueryFactory)
void
setStartIndex(int startIndex)
void
validate()
-
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, 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
-
MAX_PEOPLE_PER_PAGE
public static final int MAX_PEOPLE_PER_PAGE
- See Also:
- Constant Field Values
-
BLANK_EXPERIENCE_USER_THRESHOLD
public static final int BLANK_EXPERIENCE_USER_THRESHOLD
- See Also:
- Constant Field Values
-
BROWSE_PEOPLE
public static final String BROWSE_PEOPLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
validate
public void validate()
- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classcom.opensymphony.xwork2.ActionSupport
-
execute
public String execute()
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
-
getSelectedTab
public String getSelectedTab()
-
setSelectedTab
public void setSelectedTab(String selectedTab)
-
getOldSearchString
public String getOldSearchString()
-
getOldStartIndex
public String getOldStartIndex()
-
doSearch
public String doSearch()
-
doBrowse
public String doBrowse()
-
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in classConfluenceActionSupport
-
getPaginationSupport
public PaginationSupport<Searchable> getPaginationSupport()
-
getSearchQueryBean
public com.atlassian.confluence.user.actions.PeopleDirectoryAction.SearchQueryBean getSearchQueryBean()
Kept for backwards compatibility with existing query strings that used the old SearchQueryBean madness
-
getStartIndex
public int getStartIndex()
-
getQueryString
public String getQueryString()
-
setQueryString
public void setQueryString(String queryString)
-
setStartIndex
public void setStartIndex(int startIndex)
-
isShowOnlyPersonal
public boolean isShowOnlyPersonal()
-
setShowOnlyPersonal
public void setShowOnlyPersonal(boolean showOnlyPersonal)
-
isShowDeactivatedUsers
public boolean isShowDeactivatedUsers()
-
setShowDeactivatedUsers
public void setShowDeactivatedUsers(boolean showDeactivatedUsers)
-
isShowShadowedUsers
public boolean isShowShadowedUsers()
-
setShowShadowedUsers
public void setShowShadowedUsers(boolean showShadowedUsers)
-
isShowExternallyDeletedUsers
public boolean isShowExternallyDeletedUsers()
-
setShowExternallyDeletedUsers
public void setShowExternallyDeletedUsers(boolean showExternallyDeletedUsers)
-
isShowUnlicensedUsers
public boolean isShowUnlicensedUsers()
-
setShowUnlicensedUsers
public void setShowUnlicensedUsers(boolean showUnlicensedUsers)
-
setSearchManager
public void setSearchManager(SearchManager searchManager)
-
setCanInviteUserCriteria
public void setCanInviteUserCriteria(CanInviteUserCriteria canInviteUserCriteria)
-
isShowBlankExperience
public boolean isShowBlankExperience()
-
isHasUserCreationPermission
public boolean isHasUserCreationPermission()
-
setSiteSearchPermissionsQueryFactory
public void setSiteSearchPermissionsQueryFactory(SiteSearchPermissionsQueryFactory siteSearchPermissionsQueryFactory)
-
-