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
|
protected GenericValue |
issue
|
protected java.lang.String |
key
|
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getActionManager, getAssignableUsers, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getVisibleCustomFields, getVisibleFields, getWorkflow, isFieldHidden, setCurrentIssue, setSelectedProject, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
getCachedGroups, getConstantsManager, getGlobalColumns, getPropertySet, getRedirect, getRemoteUser, getUserPreferences, isHasIssuePermission, isHasPermission, isHasPermission, isHasProjectPermission |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.Long id
issue
protected GenericValue issue
key
protected java.lang.String key
AbstractIssueSelectAction
public AbstractIssueSelectAction()
getIssue
public GenericValue getIssue()
throws java.lang.Exception
- Throws:
java.lang.Exception
getId
public java.lang.Long getId()
throws GenericEntityException
- Throws:
GenericEntityException
setId
public void setId(java.lang.Long id)
setKey
public void setKey(java.lang.String key)
getProject
public GenericValue getProject()
throws java.lang.Exception
- Throws:
java.lang.Exception
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