public class ViewUserProjectRoles extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.Reason| Modifier and Type | Field and Description |
|---|---|
protected Collection<Project> |
currentVisibleProjects |
protected String |
name |
protected ProjectFactory |
projectFactory |
protected ProjectManager |
projectManager |
protected ProjectRoleService |
projectRoleService |
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT| Constructor and Description |
|---|
ViewUserProjectRoles(ProjectManager projectManager,
ProjectRoleService projectRoleService,
ProjectFactory projectFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault() |
protected String |
doExecute() |
Collection<ProjectCategory> |
getAllProjectCategories() |
Collection<ProjectRole> |
getAllProjectRoles() |
Collection<Project> |
getAllProjectsForCategory(ProjectCategory projectCategory) |
Collection<Project> |
getCurrentVisibleProjects() |
String |
getName() |
int |
getProjectRoleColumnWidth() |
ApplicationUser |
getProjectRoleEditUser() |
String |
getReturnUrl() |
String |
getUserInProjectRoleOtherType(ProjectRole projectRole,
Project project) |
Map<ProjectCategory,List<Project>> |
getVisibleProjectsByCategory() |
boolean |
isRoleForProjectSelected(ProjectRole role,
Project project) |
boolean |
isUserInProjectRoleTypeUser(ProjectRole projectRole,
Project project) |
void |
setName(String name) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddError, addErrorMessage, 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, setErrorMessagesprotected ProjectManager projectManager
protected ProjectRoleService projectRoleService
protected ProjectFactory projectFactory
protected String name
protected Collection<Project> currentVisibleProjects
public ViewUserProjectRoles(ProjectManager projectManager, ProjectRoleService projectRoleService, ProjectFactory projectFactory)
protected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic Collection<ProjectRole> getAllProjectRoles()
public Collection<ProjectCategory> getAllProjectCategories()
public Collection<Project> getAllProjectsForCategory(ProjectCategory projectCategory)
public boolean isUserInProjectRoleTypeUser(ProjectRole projectRole, Project project)
public String getUserInProjectRoleOtherType(ProjectRole projectRole, Project project)
public boolean isRoleForProjectSelected(ProjectRole role, Project project)
public Collection<Project> getCurrentVisibleProjects()
public Map<ProjectCategory,List<Project>> getVisibleProjectsByCategory()
public int getProjectRoleColumnWidth()
public String getName()
public void setName(String name)
public ApplicationUser getProjectRoleEditUser()
public String doDefault() throws Exception
doDefault in class webwork.action.ActionSupportExceptionpublic String getReturnUrl()
getReturnUrl in class JiraWebActionSupportCopyright © 2002-2024 Atlassian. All Rights Reserved.