public class UserBrowser extends AbstractBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
UserBrowser.ApplicationRoleSelectItem |
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryparamsattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
UserBrowser(UserUtil userUtil,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
UserManager userManager,
AvatarService avatarService,
SimpleLinkManager simpleLinkManager,
ApplicationRoleManager applicationRoleManager) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doExecute() |
List<UserBrowser.ApplicationRoleSelectItem> |
getApplicationRoles() |
Iterator<ApplicationRole> |
getApplicationRolesForUser(ApplicationUser user) |
URI |
getAvatarUrl(String username) |
List<ApplicationUser> |
getBrowsableItems() |
List<ApplicationUser> |
getCurrentPage()
Return the current 'page' of issues (given max and start) for the current filter
|
String |
getDirectoryForUser(ApplicationUser user) |
UserBrowserFilter |
getFilter() |
Iterator |
getGroups() |
Iterator |
getGroupsForUser(ApplicationUser user) |
Collection<SimpleLink> |
getOpsbarLinks() |
PagerFilter |
getPager() |
boolean |
getRolesEnabled() |
Collection<ApplicationUser> |
getUsers()
Convenience method to use from JSP's to access total number of users
|
UserUtil |
getUserUtil() |
boolean |
isRemoteUserPermittedToEditSelectedUser(ApplicationUser user) |
boolean |
isRemoteUserPermittedToEditSelectedUsersGroups(ApplicationUser user) |
void |
resetPager() |
getMaxValues, getNiceEnd, getNiceStart, getSingleParam, setParameters, setStartaddIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic UserBrowser(UserUtil userUtil, com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, UserManager userManager, AvatarService avatarService, SimpleLinkManager simpleLinkManager, ApplicationRoleManager applicationRoleManager)
protected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic PagerFilter getPager()
getPager in class AbstractBrowserpublic void resetPager()
resetPager in class AbstractBrowserpublic UserBrowserFilter getFilter()
public List<ApplicationUser> getCurrentPage()
getCurrentPage in class AbstractBrowserpublic List<ApplicationUser> getBrowsableItems()
getBrowsableItems in class AbstractBrowserpublic Iterator getGroups()
public Iterator getGroupsForUser(ApplicationUser user)
public boolean getRolesEnabled()
public Iterator<ApplicationRole> getApplicationRolesForUser(ApplicationUser user)
public List<UserBrowser.ApplicationRoleSelectItem> getApplicationRoles()
public String getDirectoryForUser(ApplicationUser user)
public Collection<ApplicationUser> getUsers()
public boolean isRemoteUserPermittedToEditSelectedUser(ApplicationUser user)
public boolean isRemoteUserPermittedToEditSelectedUsersGroups(ApplicationUser user)
public UserUtil getUserUtil()
public Collection<SimpleLink> getOpsbarLinks()
Copyright © 2002-2015 Atlassian. All Rights Reserved.