com.atlassian.jira.web.action.issue
Class AbstractIssueSelectAction
java.lang.Object
ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
- Direct Known Subclasses:
- AbstractViewIssue, CreateIssue, SimpleWorkflowAction
- public abstract class AbstractIssueSelectAction
- extends IssueActionSupport
An abstract action that should be extended by any action which wants to 'select' an issue
TODO: Test this class thoroughly - especially setKey()
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Long |
id
|
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSelectedProject, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.Long id
AbstractIssueSelectAction
public AbstractIssueSelectAction()
isIssueExists
public boolean isIssueExists()
getIssue
public GenericValue getIssue()
setIssue
protected void setIssue(GenericValue issue)
resetIssue
protected void resetIssue()
getId
public java.lang.Long getId()
throws GenericEntityException
- Throws:
GenericEntityException
setId
public void setId(java.lang.Long id)
getKey
protected java.lang.String getKey()
throws GenericEntityException
- Throws:
GenericEntityException
setKey
public void setKey(java.lang.String key)
getProject
public GenericValue getProject()
throws GenericEntityException
- Throws:
GenericEntityException
getSecurityLevelName
public java.lang.String getSecurityLevelName()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSecurityLevel
public GenericValue getSecurityLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSecurityLevel
public GenericValue getSecurityLevel(java.lang.Long id)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSecurityLevels
public java.util.Map getSecurityLevels()
throws java.lang.Exception
- Get the different levels of security that can be set for this issue
- Returns:
- Map containing the security levels
- Throws:
java.lang.Exception
getSecurityLevels
public java.util.Map getSecurityLevels(GenericValue project)
throws java.lang.Exception
- Get the different levels of security that can be set for this project
- Returns:
- Map containing the security levels
- Throws:
java.lang.Exception
getDefaultSecurityLevel
public java.lang.Long getDefaultSecurityLevel()
throws java.lang.Exception
- Get the default security level for issues within the current project
- Returns:
- The id of the security level
- Throws:
java.lang.Exception
getIssuePath
public java.lang.String getIssuePath()
- Return a context-relative URL to this issue.