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 |
protected com.atlassian.jira.issue.MutableIssue |
issueObject |
attachmentManager
projectManager
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.
|
org.ofbiz.core.entity.GenericValue |
getIssue()
Gets the current issue's GenericValue.
|
com.atlassian.jira.issue.MutableIssue |
getIssueObject()
Returns 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 |
org.ofbiz.core.entity.GenericValue |
getProject() |
org.ofbiz.core.entity.GenericValue |
getSecurityLevel() |
org.ofbiz.core.entity.GenericValue |
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(org.ofbiz.core.entity.GenericValue 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, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
escapeJavaScript, getHtmlEncodedText, getI18n, getSelectedProjectId, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, htmlEncode, setSelectedProject, setSelectedProject
addError, 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, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doDefault, doExecute, doValidation, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoggedInUser
protected Long id
protected com.atlassian.jira.issue.MutableIssue issueObject
protected AbstractIssueSelectAction()
protected AbstractIssueSelectAction(com.atlassian.jira.config.SubTaskManager subTaskManager)
public boolean isIssueExists()
public boolean isIssueValid()
public org.ofbiz.core.entity.GenericValue getIssue()
getIssueObject()
public void setIssue(org.ofbiz.core.entity.GenericValue issue)
protected void resetIssue()
public Long getId() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setId(Long id)
id
- Eg. from Issue.getId()
protected String getKey() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setKey(String key)
key
- Issue key.public org.ofbiz.core.entity.GenericValue getProject()
public org.ofbiz.core.entity.GenericValue getSecurityLevel() throws Exception
Exception
public org.ofbiz.core.entity.GenericValue getSecurityLevel(Long id) throws Exception
Exception
public 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.MutableIssue getIssueObject()
Issue
.getIssue()
public com.atlassian.jira.issue.Issue getIssueObjectNoSecurityCheck() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public boolean cameFromIssue()
public boolean cameFromParent()
public com.atlassian.jira.issue.Issue getSummaryIssue()
getSummaryIssue
in interface com.atlassian.jira.web.action.issue.IssueSummaryAware
public com.atlassian.jira.web.component.issuesummary.IssueSummaryLayoutBean getLayoutBean()
getLayoutBean
in interface com.atlassian.jira.web.action.issue.IssueSummaryAware
protected com.atlassian.jira.config.SubTaskManager getSubTaskManager()
public boolean isSubTask()
public boolean isSubTaskCreatable()
public com.atlassian.jira.issue.Issue getParentIssueObject()
Issue
Copyright © 2007–2015 Atlassian. All rights reserved.