public class ViewUserProjectRoles extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactory| 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, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
ViewUserProjectRoles(ProjectManager projectManager,
ProjectRoleService projectRoleService,
ProjectFactory projectFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault() |
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, 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, 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, tagMauEventWithApplication, tagMauEventWithProject, 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, doExecute, 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, setErrorMessagesprotected ProjectManager projectManager
protected ProjectRoleService projectRoleService
protected ProjectFactory projectFactory
protected String name
protected Collection<Project> currentVisibleProjects
public ViewUserProjectRoles(ProjectManager projectManager, ProjectRoleService projectRoleService, ProjectFactory projectFactory)
public 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-2015 Atlassian. All Rights Reserved.