public abstract class AbstractRoleActorAction extends JiraWebActionSupport
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected PermissionManager |
permissionManager |
protected ProjectRoleService |
projectRoleService |
protected RoleActorFactory |
roleActorFactory |
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
AbstractRoleActorAction(ProjectRoleService projectRoleService,
PermissionManager permissionManager,
ProjectManager projectManager,
ProjectFactory projectFactory,
RoleActorFactory roleActorFactory) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCurrentUserEditProjectRole() |
Project |
getProject() |
Long |
getProjectId() |
ProjectRole |
getProjectRole() |
Long |
getProjectRoleId() |
Collection |
getRoleActors(ProjectRole projectRole) |
void |
setProjectId(Long projectId) |
void |
setProjectRoleId(Long projectRoleId) |
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, getRequestSourceType, 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, isAdministrator, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, 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, removeKeyOrAddError
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected final ProjectRoleService projectRoleService
protected final PermissionManager permissionManager
protected RoleActorFactory roleActorFactory
public AbstractRoleActorAction(ProjectRoleService projectRoleService, PermissionManager permissionManager, ProjectManager projectManager, ProjectFactory projectFactory, RoleActorFactory roleActorFactory)
public Project getProject()
public Long getProjectId()
public void setProjectId(Long projectId)
public ProjectRole getProjectRole()
protected boolean canCurrentUserEditProjectRole()
public void setProjectRoleId(Long projectRoleId)
public Long getProjectRoleId()
public Collection getRoleActors(ProjectRole projectRole)
Copyright © 2002-2021 Atlassian. All Rights Reserved.