public abstract class AbstractIssueSelectAction extends IssueActionSupport implements com.atlassian.jira.web.action.issue.IssueSummaryAware
com.atlassian.jira.web.action.JiraWebActionSupport.MessageType| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
attachmentManagerprojectManager| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIssueSelectAction()
Our terrible action hierarchy makes this call necessary
|
protected |
AbstractIssueSelectAction(com.atlassian.jira.config.SubTaskManager subTaskManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cameFromIssue() |
boolean |
cameFromParent() |
Long |
getId()
Get Id of current issue.
|
com.atlassian.jira.issue.Issue |
getIssueObject()
Gets the current Issue
|
com.atlassian.jira.issue.Issue |
getIssueObjectNoSecurityCheck() |
String |
getIssuePath()
Gets the relative path to the current issue.
|
protected String |
getKey()
Get key of current issue.
|
com.atlassian.jira.web.component.issuesummary.IssueSummaryLayoutBean |
getLayoutBean()
Get the default layout bean for most actions.
|
com.atlassian.jira.issue.Issue |
getParentIssueObject()
Returns the parent of the current
Issue |
com.atlassian.jira.project.Project |
getProject() |
com.atlassian.jira.issue.security.IssueSecurityLevel |
getSecurityLevel() |
com.atlassian.jira.issue.security.IssueSecurityLevel |
getSecurityLevel(Long id) |
String |
getSecurityLevelName() |
protected com.atlassian.jira.config.SubTaskManager |
getSubTaskManager() |
com.atlassian.jira.issue.Issue |
getSummaryIssue()
This is used by the issue summary decorator to add the left-hand side decoration.
|
String |
getViewIssueKey() |
String |
getViewUrl()
Gets the relative path to the current issue.
|
boolean |
isEditable()
Determines whether the current user can edit or resolve this issue.
|
boolean |
isEditable(com.atlassian.jira.issue.Issue issue)
Determines whether the current user can edit or resolve an specified issue.
|
boolean |
isHasEditIssuePermission(com.atlassian.jira.issue.Issue issue) |
boolean |
isIssueExists() |
boolean |
isIssueValid()
In comparison to isIssueExists() this method performs a permission check and returns true if the issue exists and
the user has sufficient permissions.
|
boolean |
isSubTask()
Determines whether the issue is a sub task - i.e.
|
boolean |
isSubTaskCreatable()
Tests whether the sub-tasks are turned on and whether the the current issue is a 'parent' issue, i.e.
|
boolean |
isWorkflowAllowsEdit(com.atlassian.jira.issue.Issue issue) |
protected String |
redirectToView() |
protected void |
resetIssue() |
void |
setId(Long id)
Set the the current issue by its id.
|
void |
setIssue(com.atlassian.jira.issue.Issue issue) |
void |
setKey(String key)
Set current issue by its key.
|
void |
setViewIssueKey(String viewIssueKey) |
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, 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, setCurrentIssue, setSearchRequest, updateSearchRequestescapeJavaScript, getHtmlEncodedText, getI18n, getSelectedProjectId, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, htmlEncode, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, 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, hasIssuePermission, hasPermission, hasProjectPermission, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, 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, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, addErrorMessage, doDefault, 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, waitgetLoggedInUserprotected Long id
protected AbstractIssueSelectAction()
protected AbstractIssueSelectAction(com.atlassian.jira.config.SubTaskManager subTaskManager)
public boolean isIssueExists()
public boolean isIssueValid()
public com.atlassian.jira.issue.Issue getIssueObject()
public void setIssue(com.atlassian.jira.issue.Issue issue)
protected void resetIssue()
public Long getId() throws com.atlassian.jira.exception.DataAccessException
com.atlassian.jira.exception.DataAccessExceptionpublic void setId(Long id)
id - Eg. from Issue.getId()protected String getKey() throws com.atlassian.jira.exception.DataAccessException
com.atlassian.jira.exception.DataAccessExceptionpublic void setKey(String key)
key - Issue key.public com.atlassian.jira.project.Project getProject()
public com.atlassian.jira.issue.security.IssueSecurityLevel getSecurityLevel()
throws Exception
Exceptionpublic com.atlassian.jira.issue.security.IssueSecurityLevel getSecurityLevel(Long id) throws Exception
Exceptionpublic String getViewIssueKey()
public void setViewIssueKey(String viewIssueKey)
public String getViewUrl()
context path.public String getIssuePath()
context path.public boolean isEditable()
public boolean isEditable(com.atlassian.jira.issue.Issue issue)
issue - The issue in play.public boolean isHasEditIssuePermission(com.atlassian.jira.issue.Issue issue)
public boolean isWorkflowAllowsEdit(com.atlassian.jira.issue.Issue issue)
public com.atlassian.jira.issue.Issue getIssueObjectNoSecurityCheck()
throws com.atlassian.jira.exception.DataAccessException
com.atlassian.jira.exception.DataAccessExceptionpublic boolean cameFromIssue()
public boolean cameFromParent()
public com.atlassian.jira.issue.Issue getSummaryIssue()
getSummaryIssue in interface com.atlassian.jira.web.action.issue.IssueSummaryAwarepublic com.atlassian.jira.web.component.issuesummary.IssueSummaryLayoutBean getLayoutBean()
getLayoutBean in interface com.atlassian.jira.web.action.issue.IssueSummaryAwareprotected com.atlassian.jira.config.SubTaskManager getSubTaskManager()
public boolean isSubTask()
public boolean isSubTaskCreatable()
public com.atlassian.jira.issue.Issue getParentIssueObject()
IssueCopyright © 2007–2015 Atlassian. All rights reserved.