com.atlassian.confluence.user.actions
Class PeopleDirectoryAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.user.actions.PeopleDirectoryAction
All Implemented Interfaces:
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

public class PeopleDirectoryAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
static int BLANK_EXPERIENCE_USER_THRESHOLD
           
static java.lang.String BROWSE_PEOPLE
           
static int MAX_PEOPLE_PER_PAGE
           
 
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
 
Constructor Summary
PeopleDirectoryAction()
           
 
Method Summary
 java.lang.String doBrowse()
           
 java.lang.String doSearch()
           
 java.lang.String execute()
           
 java.lang.String getOldSearchString()
           
 java.lang.String getOldStartIndex()
           
 PaginationSupport<com.atlassian.bonnie.Searchable> getPaginationSupport()
           
 java.lang.String getQueryString()
           
 com.atlassian.confluence.user.actions.PeopleDirectoryAction.SearchQueryBean getSearchQueryBean()
          Kept for backwards compatibility with existing query strings that used the old SearchQueryBean madness
 java.util.List<java.lang.String> getSearchResults()
           
 java.lang.String getSelectedTab()
           
 int getStartIndex()
           
 boolean isHasUserCreationPermission()
           
 boolean isPermitted()
           
 boolean isShowBlankExperience()
           
 boolean isShowDeactivatedUsers()
           
 boolean isShowExternallyDeletedUsers()
           
 boolean isShowOnlyPersonal()
           
 void setCanInviteUserCriteria(CanInviteUserCriteria canInviteUserCriteria)
           
 void setQueryString(java.lang.String queryString)
           
 void setSearchManager(SearchManager searchManager)
           
 void setSelectedTab(java.lang.String selectedTab)
           
 void setShowDeactivatedUsers(boolean showDeactivatedUsers)
           
 void setShowExternallyDeletedUsers(boolean showExternallyDeletedUsers)
           
 void setShowOnlyPersonal(boolean showOnlyPersonal)
           
 void setStartIndex(int startIndex)
           
 void validate()
           
 
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, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, 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, 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
 

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 java.lang.String BROWSE_PEOPLE
See Also:
Constant Field Values
Constructor Detail

PeopleDirectoryAction

public PeopleDirectoryAction()
Method Detail

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

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getSelectedTab

public java.lang.String getSelectedTab()

setSelectedTab

public void setSelectedTab(java.lang.String selectedTab)

getOldSearchString

public java.lang.String getOldSearchString()

getOldStartIndex

public java.lang.String getOldStartIndex()

doSearch

public java.lang.String doSearch()

doBrowse

public java.lang.String doBrowse()
                          throws java.lang.Exception
Throws:
java.lang.Exception

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport

getPaginationSupport

public PaginationSupport<com.atlassian.bonnie.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


getSearchResults

public java.util.List<java.lang.String> getSearchResults()

getStartIndex

public int getStartIndex()

getQueryString

public java.lang.String getQueryString()

setQueryString

public void setQueryString(java.lang.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)

isShowExternallyDeletedUsers

public boolean isShowExternallyDeletedUsers()

setShowExternallyDeletedUsers

public void setShowExternallyDeletedUsers(boolean showExternallyDeletedUsers)

setSearchManager

public void setSearchManager(SearchManager searchManager)

setCanInviteUserCriteria

public void setCanInviteUserCriteria(CanInviteUserCriteria canInviteUserCriteria)

isShowBlankExperience

public boolean isShowBlankExperience()

isHasUserCreationPermission

public boolean isHasUserCreationPermission()


Copyright © 2003-2013 Atlassian. All Rights Reserved.