Class ViewApplicationUsers
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.ApplicationBaseAction
com.atlassian.crowd.console.action.application.ViewApplication
com.atlassian.crowd.console.action.application.ViewApplicationUsers
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
Adds the ability to search for the users in an application by using the functionality of BrowsePrincipals.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.crowd.console.action.application.ViewApplication
ViewApplication.ApplicationLinkDTO
-
Field Summary
Modifier and TypeFieldDescriptionResults listObjects.protected int
Results per page.protected int
Results start.Fields inherited from class com.atlassian.crowd.console.action.application.ViewApplication
aliasingEnabled, applicationDescription, applicationLicensingEnabledChecker, applicationLicensingService, applicationLinkServiceSupplier, authenticationViaEmailEnabled, authenticationWithoutPasswordEnabled, availableApplinks, dcLicenseChecker, directoryId, ID, logger, lowerCaseOutput, name, password, passwordConfirm, permissionManager, selectedApplinkId, showLicensing, syncIntervalInMin, testPassword, testUsername, type
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
Loads all the basic information needed to populate the form.getAliasForUser
(String username) int
Gets the next results start.int
Gets the previous results start.int
Gets the results per page.int
Gets the results start.void
void
setAliasManager
(AliasManager aliasManager) void
setResults
(List<User> results) void
setResultsPerPage
(int resultsPerPage) Sets the results per page.void
setResultsStart
(int resultsStart) Sets the results start.void
void
setUserSearcher
(Searcher userSearcher) Methods inherited from class com.atlassian.crowd.console.action.application.ViewApplication
configTest, getAccessBasedFilterTypeOptions, getAccessBasedSynchronizationFilterType, getAllowAllToAuthenticateOption, getApplication, getApplicationByName, getApplicationDescription, getAvailableApplinks, getCrowdId, getDirectoryId, getGroupMappingsForApplication, getID, getIsIncrementalSyncAvailable, getName, getPassword, getPasswordConfirm, getSelectedApplinkId, getSyncIntervalInMin, getTestPassword, getTestUsername, getUnsubscribedDirectories, getUnsubscribedGroups, hasPermission, isAccessBasedFilteringAvailable, isActive, isAliasingEnabled, isAuthenticationViaEmailEnabled, isAuthenticationWithoutPasswordEnabled, isCachedDirectoriesAuthenticationOrderOptimisationEnabled, isCrowdApplication, isDcLicense, isLowerCaseOutput, isMembershipAggregationEnabled, isPluginApplication, isShowLicensing, isTestAuthentication, isValidTestAuthentication, permissionEnabledGlobally, processGeneral, setAccessBasedSynchronizationFilterType, setActive, setAliasingEnabled, setApplicationDescription, setApplicationLicensingEnabledChecker, setApplicationLicensingService, setApplicationLinkServiceSupplier, setAuthenticationViaEmailEnabled, setAuthenticationWithoutPasswordEnabled, setCachedDirectoriesAuthenticationOrderOptimisationEnabled, setDcLicenseChecker, setDirectoryId, setID, setLowerCaseOutput, setMembershipAggregationEnabled, setName, setPassword, setPasswordConfirm, setPermissionManager, setSelectedApplinkId, setSyncIntervalInMin, setTestPassword, setTestUsername, toAppLinksType
Methods inherited from class com.atlassian.crowd.console.action.ApplicationBaseAction
getWebItemsForApplication
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Field Details
-
resultsStart
protected int resultsStartResults start. -
resultsPerPage
protected int resultsPerPageResults per page. -
results
Results listObjects.
-
-
Constructor Details
-
ViewApplicationUsers
public ViewApplicationUsers()
-
-
Method Details
-
execute
Loads all the basic information needed to populate the form. If there's a directoryID set, performs a search. These two separate pieces of functionality are conflated into one method because I suck at getting webwork to do what I want.- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classViewApplication
-
getResultsStart
public int getResultsStart()Gets the results start.- Returns:
- the results start.
-
setResultsStart
public void setResultsStart(int resultsStart) Sets the results start.- Parameters:
resultsStart
- the results start.
-
getNextResultsStart
public int getNextResultsStart()Gets the next results start.- Returns:
- the next results start.
-
getPreviousResultsStart
public int getPreviousResultsStart()Gets the previous results start.- Returns:
- the previous results start.
-
getResultsPerPage
public int getResultsPerPage()Gets the results per page.- Returns:
- the results per page.
-
setResultsPerPage
public void setResultsPerPage(int resultsPerPage) Sets the results per page.- Parameters:
resultsPerPage
- the results per page.
-
getResults
-
setResults
-
getActive
-
setActive
-
getSearch
-
setSearch
-
setUserSearcher
-
setAliasManager
-
getAliasForUser
- Throws:
ApplicationNotFoundException
-