com.atlassian.jira.web.action.issue
Class ViewIssue
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
com.atlassian.jira.web.action.issue.AbstractViewIssue
com.atlassian.jira.web.action.issue.ViewIssue
- All Implemented Interfaces:
- CustomFieldValuesAware
- Direct Known Subclasses:
- ManageAttachments, ManageLinks
- public class ViewIssue
- extends AbstractViewIssue
- implements CustomFieldValuesAware
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
getDefaultSecurityLevel, getId, getIssue, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, setId, setKey |
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 |
ViewIssue
public ViewIssue()
doExecute
protected java.lang.String doExecute()
throws java.lang.Exception
- Throws:
java.lang.Exception
getComponents
public java.util.Collection getComponents()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersions
public java.util.Collection getVersions()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFixVersions
public java.util.Collection getFixVersions()
throws java.lang.Exception
- Throws:
java.lang.Exception
isEditable
public boolean isEditable()
throws java.lang.Exception
- Determine whether the current user can edit or resolve this issue
- Throws:
java.lang.Exception
isMovable
public boolean isMovable()
throws java.lang.Exception
- Determine whether the current user can Move the issue
- Throws:
java.lang.Exception
isWorkable
public boolean isWorkable()
throws java.lang.Exception
- Determine whether the current user can work on this issue
- Throws:
java.lang.Exception
isClosed
public boolean isClosed()
throws java.lang.Exception
- Determine whether the current issue is closed or not
- Throws:
java.lang.Exception
isAttachable
public boolean isAttachable()
throws java.lang.Exception
- Determine whether the current user can attach files to this issue
- Throws:
java.lang.Exception
isVotedAlready
public boolean isVotedAlready()
throws java.lang.Exception
- Determine whether the current user has voted already or not
- Throws:
java.lang.Exception
isViewIssue
public java.lang.Boolean isViewIssue()
- Return Boolean.TRUE if this is the ViewIssue page (so the UI can customise itself).
Any subclass should probably return FALSE.
isWatchingAlready
public boolean isWatchingAlready()
throws java.lang.Exception
- Determine whether the current user is already watching the issue or not
- Throws:
java.lang.Exception
isIssueReportedByMe
public boolean isIssueReportedByMe()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPage
public java.lang.String getPage()
- Determine which page of the ViewIssue we're on
Options are :
comments - brief overview of the issue and all the comments (default)
details - detailed view of the issue
history - the history log of the issue
setPage
public void setPage(java.lang.String page)
getActions
public java.util.Collection getActions()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAvailableActions
public java.util.Map getAvailableActions()
throws java.lang.Exception
- Throws:
java.lang.Exception
getEstimate
public java.lang.String getEstimate()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTimeOriginalEstimate
public java.lang.String getTimeOriginalEstimate()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTimeSpent
public java.lang.String getTimeSpent()
throws java.lang.Exception
- Throws:
java.lang.Exception
setVote
public void setVote(java.lang.String vote)
setWatch
public void setWatch(java.lang.String watch)
getCustomFieldValuesHolder
public CustomFieldValuesHolder getCustomFieldValuesHolder()
throws java.lang.Exception
- Specified by:
getCustomFieldValuesHolder
in interface CustomFieldValuesAware
- Throws:
java.lang.Exception